14.01.2013 Views

Android™ Application Development - Bahar Ali Khan

Android™ Application Development - Bahar Ali Khan

Android™ Application Development - Bahar Ali Khan

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3: Creating <strong>Application</strong>s and Activities<br />

interaction with the system resources. Create a new node for each of the test classes you’ve created<br />

for your application.<br />

<br />

<br />

A more detailed description of the manifest and each of these nodes can be found at<br />

http://code.google.com/android/devel/bblocks-manifest.html<br />

The ADT New Project Wizard automatically creates a new manifest fi le when it creates a new project.<br />

You’ll return to the manifest as each of the application components is introduced.<br />

Using the Manifest Editor<br />

The ADT plug-in includes a visual Manifest Editor to manage your manifest, rather than your having to<br />

manipulate the underlying XML directly.<br />

To use the Manifest Editor in Eclipse, right-click the AndroidManifest.xml fi le in your project folder,<br />

and select Open With ➪ Android Manifest Editor. This presents the Android Manifest Overview<br />

screen, as shown in Figure 3-1. This gives you a high-level view of your application structure and provides<br />

shortcut links to the <strong>Application</strong>, Permissions, Instrumentation, and raw XML screens.<br />

Figure 3-1<br />

49

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!