There are two ways we can generate a hybrid mobile application from our HTML5 application using PhoneGap: locally or online in the cloud. We will be using the cloud build option; the easier of the two.
Local builds require significant effort to set up and configure. Requirements include an appropriate build device, SDKs, and compilers, as well as the PhoneGap binaries. In the case of iOS, this means developers need a Mac OS X system with both Xcode and the iOS SDK installed, as well as the Cordova libraries from http://phonegap.com/download/. Android local build requirements are similar, but requiring Eclipse and the Android SDK instead. In both cases, developers must manually manage wm.xhrPath
for final deployment.
The setup of the build environment can be time consuming. However, once successfully configured, the build/test cycles with the local build are much faster, providing a more productive development environment. The emulators in the development kits provide...