20 Recipes for Programming PhoneGap
- Length: 76 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2012-04-03
- ISBN-10: 1449319548
- ISBN-13: 9781449319540
- Sales Rank: #1781615 (See Top 100 Books)
This book will explore many common features of mobile development and how they are accomplished with PhoneGap. This will include GPS location, maps, media, accelerometer, and much more. PhoneGap is a library that allows developers to interface directly with a mobile device through the use of its Javascript libraries. With the multitude of mobile platforms it is very difficult and expensive to create multiple applications in Java, Objective-C, or other native languages. Through the PhoneGap library, most web developers can convert their existing knowledge of HTML, CSS, and Javascript into mobile phone applications with very little effort.
Table of Contents
Recipe 1. Determining Whether the Device Is Ready
Recipe 2. Retrieving Information About the Device
Recipe 3. Creating a Persistent Navigation System
Recipe 4. Detecting the Device’s Network Status
Recipe 5. Detecting When the Network Status Changes
Recipe 6. Executing a Callback Function Once the Device Is Ready
Recipe 7. Detecting When the App Is Moved to the Background or Foreground
Recipe 8. Using the GPS and Displaying a Position on a Map
Recipe 9. Using the Compass to Help the User Navigate
Recipe 10. Using the Accelerometer to Detect Motion
Recipe 11. Displaying Table-View Data
Recipe 12. Retrieving Contacts in the Address Book
Recipe 13. Creating a New Contact in the Address Book
Recipe 14. Accessing the Camera and Photo Album
Recipe 15. Saving Data to a Remote Server
Recipe 16. Capturing Audio and Video
Recipe 17. Notifying the Device with Alert, Confirm, and Vibrate
Recipe 18. Storing Data to the Device
Recipe 19. Reading Data from the Device
Recipe 20. Extending PhoneGap with Plug-ins