Book Image

PhoneGap By Example

Book Image

PhoneGap By Example

Overview of this book

Table of Contents (17 chapters)
PhoneGap By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Running with PhoneGap


There is a PhoneGap Developer App tool available to test our Cordova/PhoneGap applications quickly. Using this tool, we can quickly change code on the desktop and test our application on attached devices without having to rebuild, reinstall, or do other manipulations through an IDE or CLI.

The idea is in connecting the desktop and the mobile device wirelessly over a shared network.

There are two parts in the PhoneGap Developer App tool:

  • The mobile application, which is a kind of "shell" for our application

  • The mobile PhoneGap application itself, which we are serving over a web server from our computer with the PhoneGap CLI phonegap server command

The mobile part will look and act like our mobile installed application. Any edits to the code on the desktop are reflected immediately once we save the code.

Let's look at the details of setup and the usage of the application.

PhoneGap Developer App setup

In all the previous chapters, we had to deal only with Cordova and its CLI....