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. In this book, I will explore many common features of
mobile development and how they are accomplished with PhoneGap. This will include
GPS location, maps, media, accelerometers, and much more.
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