Open main menu

CDOT Wiki β


Android : Lab

342 bytes added, 08:40, 19 March 2011
no edit summary
[ ShowContacts Activity class]
<u>Step 2. Add Options Menu</u>
[ Override onCreateOptionsMenu and onOptionsItemSelected] almost empty
<u>Step 3. Add a new activity: the Edit Activity.</u>
[ Add Edit Activity & Create an Intent on OptionsItemSelected]
<u>Step 4. Define Create a Helper DB class for using SQLite </u>
[ create an inner class of MyDbHelper that extends SQLiteOpenHelper]
<u>Step 5. Example of app failure trying to Write and Display data from DB.</u>
[ common errors in writing database adapters]
to be continued