Changes

Jump to: navigation, search

Android : Lab

571 bytes added, 07:22, 1 April 2011
no edit summary
{{Ecl_labs|type=Android|description=Ecl_menu}}
Here are few steps to guide you in the process of building an Android application:
<u>Step 1. Build the First Activity. </u>
[https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/LAB_Android_Example_Steps/Step_1/ ShowContacts Activity class]
<u>Step 2. Add Options Menu</u>
[https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/LAB_Android_Example_Steps/Step_2/ Override onCreateOptionsMenu and onOptionsItemSelected] almost empty
<u>Step 3. Add a new activity: the Edit Activity.</u>
[https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/LAB_Android_Example_Steps/Step_3/ Add Edit Activity & Create an Intent on OptionsItemSelected]
<u>Step 4. Define Create a Helper DB class for using SQLite </u>
[https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/LAB_Android_Example_Steps/Step_4/ 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>
 to be continued  <u>'''[https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/LAB_Android_Example_Steps/ Here is the code for the steps described aboveStep_5/ Common errors in writing database adapters]'''</u>    |criteria=To be determined}}

Navigation menu