Synopses & Reviews
In order for Web developers to create mobile applications, they need to learn new programming languages, which keeps many of them out of the mobile space. PhoneGap comes to the rescue!! It lets web developers mobile applications in languages they already know. In addition, PhoneGap allows for cross-platform development, so they can develop apps for iPhone, Android, and Blackberry!
Beginning PhoneGap walks the reader through installing the development software, cover the basics of each of the functional units, and then introduce the reader to various projects they can build with the framework. It features:
- Using PhoneGap with iPhone, Android, Blackberry
- Using features Accelerameter, Compass
- Media, Storage and Files, Camera, Contacts, Geolocation
Create cross-platform mobile apps without having to learn a new language!
- 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
- 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!
"NOTE: Several significant changes to the PhoneGap software occurred shortly after this book was published. The author has written extra pages to address these and other changes. You can download the updates to this book from the book's support page on the Wrox website."
Now web developers can create cross-platform mobile apps in a language they already know
Walks you through the entire process of creating a PhoneGap application, including contacts, the camera, media files, storage options, and more
Demonstrates how to install and configure PhoneGap for iOS, Android, BlackBerry, webOS, and Symbian
Reviews event objects and event types
Shares techniques for working with the network, the device, and notifications
Provides essential guidance on mastering the filesystem, web databases, and storage
Encourages you to make the most of Geolocation, Compass, and Accelerometer
Includes an array of exercises throughout the book where you can apply what you just learned
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
About the Author
Thomas Myer is a consultant, author, and speaker. He owns Triple Dog Dare Media and specializes in Linux- and Mac-based development, including iPhone apps, CMS, blogs, wikis, dashboard widgets, UNIX systems, and Applescripting. He is the author of several books, including Professional CodeIgniter, Apple Automator with AppleScript, and Mac OS X UNIX Toolbox, among others.
Table of Contents
CHAPTER 1: INTRODUCING PHONEGAP 1
CHAPTER 2: INSTALLING AND CONFIGURING PHONEGAP 17
CHAPTER 3: BASIC WALKTHROUGH 31
CHAPTER 4: EVENTS 45
CHAPTER 5: WORKING WITH THE DEVICE, THE NETWORK, AND NOTIFICATIONS 59
CHAPTER 6: ACCELEROMETER 73
CHAPTER 7: COMPASS 85
CHAPTER 8: GEOLOCATION 99
CHAPTER 9: MEDIA 113
CHAPTER 10: CAMERA 129
CHAPTER 11: STORAGE 143
CHAPTER 12: FILES 157
CHAPTER 13: CONTACTS 179
CHAPTER 14: CAPTURE 189
CHAPTER 15: CREATING A NOTE-TAKING APPLICATION 197
APPENDIX A: ANSWERS TO EXERCISES 213
APPENDIX B: TOOLS FOR PHONEGAP 235
APPENDIX C: PHONEGAP.JS 247
APPENDIX D: PHONEGAP PLUG-INS 333