Monday, September 9, 2013

Create Android project

To create a new Android project select FileNewOther...Android Android Project from the menu. Enter the fitting data from the following table in the first wizard page.
Table 2. New Android project
Property Value
Application Name Test App
Project Name com.vogella.android.first
Package name com.vogella.android.first
API (Minimum, Target, Compile with) Latest

Project wizard to create an Android project - Part 1
Press the Next button and ensure that you have selected to create a launcher icon and an activity.
Project wizard to create an Android project - Part 2
On the wizard page for the launcher icon, create an application icon of you choosing. The following screenshot shows an example for a possible result.
Project wizard to create an Android project - Part 3
Press the Next button and select on the next page the BlankActivity template. Press the Next button.
Project wizard to create an Android project - Part 4
Enter the following data in the dialog for the BlankActivity template. The selection is depicted in the screenshot after the table.
Table 3. Values for the template
Parameter Value
Activity MainActivity
Layout activity_main
Navigation Type none

Project wizard to create an Android project - Part 5
Press the Finish button. The wizard may prompt you to install the support library. If you are prompted, select to install it.
Generated Android Project Structure

No comments:

Post a Comment