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
Donate to keep this site alive
How to download source code?
1. Go to: https://www.oreilly.com/
2. Search the book title: 20 Recipes for Programming PhoneGap
, sometime you may not get the results, please search the main title
3. Click the book title in the search results
3. Publisher resources
section, click Download Example Code
.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.