Difference between revisions of "Android : Lab"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
{{Ecl_labs|type=Android|description=
+
{{Ecl_menu}}
 
Here are few steps to guide you in the process of building an Android application:
 
Here are few steps to guide you in the process of building an Android application:
  
  
Step 1. Build the First Activity.  
+
Step 1. Build the First Activity.
 +
 
 +
[https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/LAB_Android_Example_Steps/Step_1/ ShowContacts Activity class]
  
  
 
Step 2. Add Options Menu
 
Step 2. Add Options Menu
 
+
[https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/LAB_Android_Example_Steps/Step_1/ Override onCreateOptionsMenu and onOptionsItemSelected] almost empty
  
 
Step 3. Add a new activity: the Edit Activity.
 
Step 3. Add a new activity: the Edit Activity.

Revision as of 08:25, 19 March 2011

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.


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



|criteria=To be determined}}