Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The case study in this chapter provides only a brief insight into developing native apps with PhoneGap, showing how to store and update data, accessing the GPS sensor, displaying native alerts, and detecting the device’s platform. In addition to the core PhoneGap API, there are plug-ins that extend access to other native features. The integration of PhoneGap in Dreamweaver CS5.5 simplifies the mechanics of installing the Android SDK and of building apps ready for launch in a simulator. However, developing an app requires a solid understanding of JavaScript and the PhoneGap API.
If you plan to deploy your app in the Android or Apple markets, you need to remove debugging code and sign the app with a digital certificate. The procedure is different for each operating system. Check the Android Developers website at http://developer.android.com or the iOS Dev Center at http://developer.apple.com for the most up-to-date information.