28 April 2011

Android Dev Team #6
    Week March 6-12

I am currently going through some android examples that deal with databases. There are a couple of examples of android applications that come with the android sdk that look promising. There are a couple of android example apps called notepad. The notepad apps demonstrate sqlite database interactions as well as the android menu interactions. I will focus on porting the database code to fit my database needs for the gestures. Since I am interpreting the gestures as zeros and ones I will need a database table called Gestures that consists of the following fields. The first field being the surrogate key or primary key that auto increments. The second field being the zeros and ones denoting the buttons actively being pressed. The last field will be for the actually description of what this gesture is, "rally", for example.
    I have chosen to represent the two last field as strings for database simplicity as I can easily convert them later in the Java code. I will need some helper functions in order to grab specific gestures, delete gestures, and insert gestures.

No comments:

Post a Comment