PhoneGap Essentials

Bok av John M. Wargo
PhoneGap is Adobe's distribution of the free and open source framework (originally developed by Nitobi) that is now also available from the Apache Foundation as Apache Cordova. Using PhoneGap, developers can build native mobile apps using standard HTML5, JavaScript, and CSS, and then deploy those apps to every leading mobile platform with little or no recoding. Up to now, though, PhoneGap was lacking complete, practical documentation. PhoneGap Essentials fills that void: It's the first concise, yet complete, tutorial for succeeding with PhoneGap in real-world development. Experienced mobile developer John M. Wargo thoroughly introduces the PhoneGap platform, explaining what it is, what it does, and how it works. He then guides you through configuring PhoneGap environmentscreating complete mobile appsand building them for the Google Android, Samsung bada, BlackBerry(R) devices, Apple(R) iOS, Symbian OS, and Windows(R) Phone. Through realistic examples, you'll master key PhoneGap APIs for everything from GPS to the file system, contacts to camera, device to events, and more. Wargo also demonstrates how to take full advantage of PhoneGap Build, PhoneGap's cloud-based packaging utility. Coverage includes The anatomy of a PhoneGap application (what makes an application a PhoneGap application) Understanding the impact of cross-platform development issues Exploring the entire PhoneGap development process, including testing and debugging Expanding PhoneGap's capabilities with third-party development tools and plug-ins Building cross-platform apps that use the device camera, compass, accelerometer, and other hardware Reading from and writing to the contacts database and the device file system Installing tools needed to develop PhoneGap apps for Android, bada, BlackBerry, iOS, Symbian, and Windows Phone Reacting to events and notifying users Using the Media API to record and play media files Building for multiple platforms simultaneously using PhoneGap Build About the Website Downloadable code projects, additional information, and errata are available at phonegapessentials.com.