Previewing your application on Android
improve this page | report issueOverview

In this tutorial the following topics are covered.
As a pre-requisite, read the "Previewing your application's web resources" tutorial.
- Understanding the Android native project
- Preview the application in the Android Emulator
- Run the application in a physical device
Understanding the Android native project
After adding the Android environment, an Android project is generated and added to the workspace.
This project folder does not contain a copy of the application code. Rather, it is mapped to the native folder within the android folder of the application.
Preview the application in the Android Emulator
Before you are able to run the Android application in the Android Emulator (or AVD, Android Virtual Device), you must create one by following the Android documentation
When an AVD is available, right-click the automatically generated Android Project, and select Run As > Android Application.

Run the application in a physical device
When an Android device is connected to the computer with a USB cable, the Eclipse ADT plug-in automatically recognizes the Android device and attempts to deploy applications onto it when following the same steps: right-click the automatically generated Android Project, and select Run As > Android Application.
▲