Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
When it comes to testing and debugging a PhoneGap application, developers have the option of using the Android emulator or running the application on a physical device. The information provided in this section covers this topic at a high level; you can find additional details on the debugging process at the Android developer web site (http://developer.android.com).
The ability to test and debug an application on a device or emulator is built into the Eclipse plug-in. As shown previously, simply launch the emulator or load onto a device directly from the IDE. The following sections provide information on how to test PhoneGap applications using the command-line tools.
When working with the command-line tools, you can easily deploy Android applications directly from a terminal or command prompt window.