20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone

Overview

Gain hands-on experience with the amazing PhoneGap library, using the practical recipes in this handy guide. With these solutions, you can enable your mobile web apps to interact with device-specific features such as the accelerometer, GPS, camera, and address book. Learn how to use your knowledge of HTML, CSS, and JavaScript to build full mobile apps for iOS, Android, and several other platforms without rewriting apps in the native platform language. Each recipe includes sample code you can use in your project ...

See more details below
Other sellers (Paperback)
  • All (10) from $8.39   
  • New (7) from $9.72   
  • Used (3) from $8.39   
20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$10.99
BN.com price
(Save 15%)$12.99 List Price

Overview

Gain hands-on experience with the amazing PhoneGap library, using the practical recipes in this handy guide. With these solutions, you can enable your mobile web apps to interact with device-specific features such as the accelerometer, GPS, camera, and address book. Learn how to use your knowledge of HTML, CSS, and JavaScript to build full mobile apps for iOS, Android, and several other platforms without rewriting apps in the native platform language. Each recipe includes sample code you can use in your project right away, as well as a discussion of why the solution works.

  • Add functionality that’s available only on a certain device or platform
  • Retrieve the device’s current GPS location and place a marker on a map
  • Create and save a new contact or edit an existing contact in the address book
  • Take pictures with the camera or select one of the user’s existing photos
  • Upload a file from the local device to an external server
  • Allow the device to record audio or video through your app
  • Enable your application to save files locally
Read More Show Less

Product Details

  • ISBN-13: 9781449319540
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 4/6/2012
  • Edition number: 1
  • Pages: 59
  • Product dimensions: 7.30 (w) x 9.00 (h) x 0.30 (d)

Meet the Author

The author of 20 Recipes for Programming MVC 3 from O'Reilly Media, Jamie Munro has been developing websites and web applications for over 15 years. For the past 6 years Jamie has been acting as a lead developer by mentoring younger developers to enhance their web development skills. Taking his love of mentoring people, Jamie began his writing career on his personal blog (http://www.endyourif.com) back in 2009. As Jamie's blog grew in success, he turned his writing passion to books about web development. As well as writing books, Jamie is currently in the process of starting a new website (http://www.webistrate.com) that is geared towards helping web developers further expand their experience with many online examples using MVC3, CakePHP, CodeIgniter, Jquery, Database Optimzation, and Search Engine Optimization.

Read More Show Less

Table of Contents

Preface;
About the Book;
Prerequisites;
Conventions Used in This Book;
Tools;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: The Recipes;
1.1 Determining Whether the Device Is Ready;
1.2 Retrieving Information About the Device;
1.3 Creating a Persistent Navigation System;
1.4 Detecting the Device’s Network Status;
1.5 Detecting When the Network Status Changes;
1.6 Executing a Callback Function Once the Device Is Ready;
1.7 Detecting When the App Is Moved to the Background or Foreground;
1.8 Using the GPS and Displaying a Position on a Map;
1.9 Using the Compass to Help the User Navigate;
1.10 Using the Accelerometer to Detect Motion;
1.11 Displaying Table-View Data;
1.12 Retrieving Contacts in the Address Book;
1.13 Creating a New Contact in the Address Book;
1.14 Accessing the Camera and Photo Album;
1.15 Saving Data to a Remote Server;
1.16 Capturing Audio and Video;
1.17 Notifying the Device with Alert, Confirm, and Vibrate;
1.18 Storing Data to the Device;
1.19 Reading Data from the Device;
1.20 Extending PhoneGap with Plug-ins;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)