After the Android development environment is installed and the Android emulator is created, you can start writing the first Android app "Hello,world". The following example uses the Eclipse IDE.
After you install ADT plugin, the new project type that you create adds an Android project kind:
Select the Android project item type, and the following dialog box appears:
Project Name:hello World
Build target: Choose android 1.6 And if your build target list is empty, you forget to set up the Android SDK installation directory. You can set up the SDK path through Windows-> Preferences-> Android.
Application Name:hello World
Package Name:com.pstreets.android.example, if you have developed Java or. Net Framework applications, the package name is not unfamiliar.
Create Activity:helloworld. Activity is a new concept unique to the Android platform. As a reference to Java me or Windows Mobile CE application, it resembles the form class for the UI class in Java me and Windows Mobile.
Min SDK Version: Can be empty. The Android platform has more versions, from 1.5 to the current 3.0. The Android platform supports backward compatibility. Min SDK version indicates the most version of your application support development. 4 corresponds to Android 1.5.
Click "Finish" to create the "Hello World" project in Eclipse's workspace: