Beginning PhoneGap

Book description

Create cross-platform mobile apps without having to learn a new language!

PhoneGap is an open source solution, ideal for web developers wanting to build cross-platform mobile apps without having to learn a new language. Using HTML, CSS, and Javascript, PhoneGap allows you to jump into the mobile world and develop apps for iPhone, Android, and the BlackBerry.

  • Walks you through installing the development software

  • Covers the basics of each of PhoneGap's functional units

  • Introduces various projects you can build with the framework

  • Discusses using HTML, CSS, JavaScript

  • Explores the features accelerameter and compass

  • Examines media, storage and files, camera, contacts, geolocation, and more

Within Beginning PhoneGap, each new chapter builds on the lessons taught in the previous so that by the end of the book, you can have mobile apps up and running!

Table of contents

  1. Cover
  2. Introduction
  3. Chapter 1: Introducing PhoneGap
    1. Using Phonegap
    2. History of Phonegap
    3. Understanding the Basics of a Phonegap Application
    4. Summary
  4. Chapter 2: Installing and Configuring PhoneGap
    1. Downloading Phonegap
    2. Using Phonegap Build
    3. Choosing Your Environment
    4. Summary
  5. Chapter 3: Basic Walkthrough
    1. Using Phonegap with Xcode
    2. Using Phonegap with an Android Device
    3. Using Phonegap with a Blackberry Device
    4. Using Phonegap with Other Devices
    5. Summary
  6. Chapter 4: Events
    1. Understanding Events
    2. Using the Events Listener
    3. Understanding Event Types
    4. Summary
  7. Chapter 5: Working with the Device, the Network, and Notifications
    1. Getting Information from the Device
    2. Checking for a Network
    3. Using Notifications
    4. Summary
  8. Chapter 6: Accelerometer
    1. Getting to Know the Accelerometer
    2. Using the Acceleration Object
    3. Using Accelerometer Methods
    4. Accelerometer Option
    5. Summary
  9. Chapter 7: Compass
    1. Getting to Know the Compass
    2. Using Compass Methods
    3. Using a Compass Option
    4. Improving the Look and Feel
    5. Summary
  10. Chapter 8: Geolocation
    1. Getting to Know Geolocation
    2. The Position, Positionerror, and Coordinates Objects
    3. Using Geolocation Methods
    4. Using Geolocation Options
    5. Improving the Look and Feel
    6. Summary
  11. Chapter 9: Media
    1. Learning about Media Files
    2. The Media Object
    3. Using Media Methods
    4. Handling Errors
    5. Improving the Look and Feel
    6. Summary
  12. Chapter 10: Camera
    1. Getting to Know the Camera
    2. Using the Camera Object
    3. Using the Getpicture Method
    4. Using Camera Options
    5. Improving the Look and Feel
    6. Summary
  13. Chapter 11: Storage
    1. Learning about Storage Options
    2. Using the Database Object
    3. Using the Localstorage Object
    4. Summary
  14. Chapter 12: Files
    1. Learning about Filesystems
    2. Learning about Directories and Files
    3. Reading Files
    4. Writing Files
    5. Learning about Transferring Files
    6. Handling Errors
    7. Summary
  15. Chapter 13: Contacts
    1. Learning about Creating Contacts
    2. Finding a Contact
    3. Understanding Some Quirks
    4. Handling Errors
    5. Summary
  16. Chapter 14: Capture
    1. Learning about Capturing Video
    2. Learning about Capturing Audio
    3. Learning about Capturing Images
    4. Handling Errors
    5. Summary
  17. Chapter 15: Creating a Note-Taking Application
    1. Designing the Application
    2. Building the Application
    3. Cleaning up the App
    4. Summary
  18. Appendix A: Answers to Exercises
  19. Appendix B: Tools for PhoneGap
  20. Appendix C: PhoneGap.js
  21. Appendix D: PhoneGap Plug-ins

Product information

  • Title: Beginning PhoneGap
  • Author(s): Thomas Myer
  • Release date: December 2011
  • Publisher(s): Wrox
  • ISBN: 9781118156650