Difference between revisions of "Teams Winter 2011/team5/lab5/tutorial"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
 
=== 1. Create Android Project ===
 
=== 1. Create Android Project ===
1.1. [http://www.vogella.de/articles/Android/article.html#installation Install necessary plug-ins]for Android application development.<br/>
+
1.1 Setup Eclipse with the ADT plugin as directed to ttp://www.vogella.de/articles/Android/article.html#installation here]
1.2. Create a new android project: ''File -> New -> Android Project'':<br/>
+
1.2. Create a new android project in your eclipse: ''File -> New -> Android Project'':<br/>
1.3. Change the icon for the application. Add the icon to the ''drawable'' folders first and then open '''AndroidManifest.xml'''.<br/>
+
 
Click ''"Application"'' tab and Browse to the newly added icon:<br/>
+
===
1.4. Run the application: ''Right Click -> Run As... -> Android Application''<br/>
+
 
1.5. Click on the application icon. You should see the following:<br/>
+
2. Database Helper
 +
 
 +
===
 +
 
 +
=== 3. First Activity Code - Book Manager
 +
 
 +
===
 +
===
 +
 
 +
4. First Activity Layout
 +
 
 +
===
 +
===
 +
 
 +
5. First Activity Menus
 +
 
 +
===
 +
 
 +
===
 +
 
 +
6. First Activity Context Menu
 +
 
 +
===
 +
 
 +
===
 +
 
 +
7. Edit Activity Code
 +
 
 +
===
 +
 
 +
===
 +
 
 +
8. Edit Activity Layouts
 +
 
 +
===

Revision as of 02:18, 16 April 2011

1. Create Android Project

1.1 Setup Eclipse with the ADT plugin as directed to ttp://www.vogella.de/articles/Android/article.html#installation here] 1.2. Create a new android project in your eclipse: File -> New -> Android Project:

=

2. Database Helper

=

=== 3. First Activity Code - Book Manager

=

=

4. First Activity Layout

=

=

5. First Activity Menus

=

=

6. First Activity Context Menu

=

=

7. Edit Activity Code

=

=

8. Edit Activity Layouts

=