Book Image

PhoneGap Beginners Guide (third edition)

Book Image

PhoneGap Beginners Guide (third edition)

Overview of this book

Table of Contents (22 chapters)
PhoneGap Beginner's Guide Third Edition
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Related Plugin Resources
Index

The PhoneGap Developer App


In earlier chapters, we have seen several ways to run/debug our PhoneGap project. The easiest way is to use the PhoneGap Developer App. It's a mobile application available for Windows, Android, and iOS platforms. Once you have installed the mobile application, you can easily test your project without actually building and installing the application on your physical device connected to the same wireless network as your desktop.

Once you have the project ready to test, you can use the serve command of the PhoneGap command-line tool to start a local server listening on an IP address.

Now, open the installed application in your device, enter the IP address listed on the command line, and click the Connect button. Now, your desktop computer and the mobile device will be wirelessly paired, and you can see your app on the device. Any changes made to the code will be instantly reflected on the device. The device APIs that do not work on browsers, will be working on your device even without installing the application.

More details and download links for all platforms can be found at http://app.phonegap.com.