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
About 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.