ptg7068951
346 HOUR 24:Writing Android Apps
For a simple app like this one, an early target is OK. Choose
Android 2.2.
- In the Application name field, give the app the name Saluton
Mondo!. This name will be displayed on Android devices. - The Package name field should contain the name of the Java package
to which the classes of this app belong. Enter
org.cadenhead.android. - The Create Activity checkbox indicates whether the new app will be
created with an Activity class. An activity is a task the app can
accomplish. Keep this checkbox selected and enter SalutonActivity
in the adjacent text field.
10.Click Finish. The new app iscreated and a SalutonMondo item
appears in the Package Explorer pane.
Exploring a New Android Project
A new Android project consistsof around 20 files and folders that always
are organized the same way in an Android app. There might be more files
FIGURE 24.1
Creating a new Android projectin
Eclipse.