Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Buy new:
$14.37$14.37
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Good
$5.75$5.75
$3.99 delivery Saturday, November 30
Ships from: books_from_california Sold by: books_from_california
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone 1st Edition
Purchase options and add-ons
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
- ISBN-109781449319540
- ISBN-13978-1449319540
- Edition1st
- PublisherO'Reilly Media
- Publication dateMay 1, 2012
- LanguageEnglish
- Dimensions7 x 0.16 x 9.19 inches
- Print length74 pages
Similar items that may deliver to you quickly
Editorial Reviews
About the Author
Product details
- ASIN : 1449319548
- Publisher : O'Reilly Media; 1st edition (May 1, 2012)
- Language : English
- Paperback : 74 pages
- ISBN-10 : 9781449319540
- ISBN-13 : 978-1449319540
- Item Weight : 5 ounces
- Dimensions : 7 x 0.16 x 9.19 inches
- Customer Reviews:
About the author

The author of Knockout.js - Building Dynamic Client-Side Web Applications, 20 Recipes for Programming MVC 3, and 20 Recipes for Programming PhoneGap from O'Reilly Media, Jamie Munro has been developing websites and web applications for over 15 years. For the past 8 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 in hopes that his many years of experience could be passed on to you, the reader.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
Jamie Munro not only uses Phone Gap but JQuery mobile to build the UI. So, the book serves as a good beginner reference for that library as well.
It's very well organized and each recipe builds on the previous one while keeping them fairly independent at the same time.
I will recommend you read the book in order the first time. It will give you a good idea of the capabilities and how some of the features and code builds on the previous chapter.
When using it as a reference you should have no problems going to a particular chapter.
You will learn from dealing with the device status, to interact with the GPS, notifications, contacts, internal storage and more.
The book is using phonegap 1.0.
While the book isn't bad and the content may still be relevant, you will have to adapt a lot of what is written to the new version.
For the good things, I would say that each recipe got me learn jQueryMobile and the PhoneGap API. The examples are interesting and useful for the future hybrid apps I may write sometime. I liked that, when explaining the "Accessing the Camera and Photo Album", the author realized that in the simulator we cannot use the camera [seems to be a bug introduced with Android 2.2], and explained how to use the photo library instead. This was helpful especially for the next chapter, which demonstrated how these images could be sent to a remote server. I would only add [for other readers] that, in order to get the pictures in the simulator, one may use the simulator's web browser app to download images from internet.
Unfortunately, not all things were so good:
- From the very beginning it was not obvious that these examples will work only packaged as PhoneGap applications, and they will not work in a Webkit browser. I had this problem because I wanted to use the JavaScript debuggers provided by Safari and Chrome to see how the code worked. [Some examples can actually run in desktop browser after installing the Ripple Emulator plug-in for Google Chrome].
- The very interesting recipe "Saving data to a Remote Server" didn't work, [at least with author's server].
- The last recipe, "Extending PhoneGap with Plug-ins", was quite disappointing, as, right in the middle of the implementation, the author "sent" me to get code from another website, which I could not compile as it had quite a lot of dependencies. I believe that a simpler and self contained example would be more useful.
There were some other minor things, such as the omission of the "images"sub-directory in the css directory, or the need to make the "intervalID" variable global in the common.js [in the HelloWorldPhoneGap.zip file that accompanies the book ]
In conclusion, I believe that, despite some issues, this is a good starting book, with valuable examples; and those few errors are inherent in the first edition. Fixing the problems and adding screen captures, [see Jonathan Starks' excellent book "Building iPhone Apps with HTML, CSS, and JavaScript"] would help a lot.




