Open main menu

CDOT Wiki β

Android : Lab

Here are few steps to guide you in the process of building an Android application:


Step 1. Build the First Activity.

ShowContacts Activity class


Step 2. Add Options Menu

Override onCreateOptionsMenu and onOptionsItemSelected almost empty


Step 3. Add a new activity: the Edit Activity.

Add Edit Activity & Create an Intent on OptionsItemSelected

Step 4. Define a Helper for SQLite


Step 5. Write and Display data from DB.


to be continued


Here is the code for the steps described above