Hardware Reference
In-Depth Information
The next prompt (see Figure 4-2 ) requires an application name, project name, package name, and
declaration of the Android SDK version.
Figure 4-2. The New Android App dialog
Enter ADK blink as the application name for this chapter.
2.
Name the project CH4Examples .
3.
Name the package CH4.example.proarduino . The package name is a triplet descriptor that
defines a base Java package that will be the program's entry point. The application name,
project name, and package name can be set to anything for later projects and should be
set in the wizard when creating projects; note that once you've created these names for a
project, it is difficult to change them later on.
4.
5.
Next, you'll set which API level to use. Select Google APIs for the 2.3.3 platform, API
version 10. The API sets the minimum version of Android that the application will work
on, API version 10 will work on future Android releases. Do not use Android X.X.X , where
X.X.X is the target version of Android, when developing ADK applications. Only the Google
APIs have the required support for the ADK.
6.
You can also choose to create a custom logo for the application. For now, though, deselect
the “Create custom launcher icon” option. If the option is selected, you will be given an
additional set of prompts for setting the application logo.
7.
Finally, leave the “Mark this project as a library” and “Create Project in Workspace”
options at their defaults, and then click Next.
 
Search WWH ::




Custom Search