Difference between revisions of "Android : Lab"
(4 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
<u>Step 4. Create a DB class for using SQLite</u> | <u>Step 4. Create a DB class for using SQLite</u> | ||
− | [https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/LAB_Android_Example_Steps/Step_4/ | + | [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> | <u>Step 5. Example of app failure trying to Write and Display data from DB.</u> | ||
− | [https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/LAB_Android_Example_Steps/Step_5/ | + | [https://zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/LAB_Android_Example_Steps/Step_5/ Common errors in writing database adapters] |
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 06:22, 1 April 2011
Main Page · Course Description · Course Topics · Schedule, Students, Teams · Course Resources · Course Projects
Here are few steps to guide you in the process of building an Android application:
Step 1. Build the First Activity.
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. Create a DB class for using SQLite
Create an inner class of MyDbHelper that extends SQLiteOpenHelper
Step 5. Example of app failure trying to Write and Display data from DB.