teaching machines

Persist – Dan Zirnhelt

October 20, 2012 by . Filed under cs491 mobile, fall 2012, postmortems.

I decided to make a contact list. It allows you to store first name, Last name and a phone number in a database.  This is built in a scroll-able list that will scroll if you add more then can be displayed on the screen.  I used my Galaxy S III to do all of my testing and I was able to handle the rotation of the screen and and interruptions of the program.  To display all of my contacts  find the number I would just query the entire database and order it by first name, loop through a cursor and add them to my list view.

I learned a lot about android database and how the singleton works.  Also I have a lot of fun messing with the database.

In my pictures you can see that if you click on a contact the information will be displayed and you can change it and save it, or delete it.  I deleted it and you can see that it is no longer in my database.