Figure 4-1: The Silent Mode Toggle application in Eclipse.
Creating the Silent Mode Toggle Application
Create the new application by choosing File⇒New Project. Choose Android Project from the list, and then click the Next button. Use Table 4-1 for your project settings.
Table 4-1 Project Settings for Silent Mode Toggle
Setting |
Value |
Application Name |
Silent Mode Toggle |
Project name |
Silent Mode Toggle |
Contents |
Leave the default selected (create new project in workspace) |
Build target |
Android 4.1 |
Package name |
|
Create activity |
|
Min SDK Version |
8 (2.2) |
Click the Finish button. You should now have the Silent Mode Toggle application in your Package Explorer, as shown in Figure 4-1.
Figure 4-1: The Silent Mode Toggle application in Eclipse.