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 HTML, CSS, and Javascript
- Using features Accelerameter, Compass
- Media, Storage and Files, Camera, Contacts, Geolocation
Using HTML, CSS, and Javascript, languages familiar to most web developers, chapters build on each other to create a larger app, so by the end readers can have mobile apps up and running.
Synopsis
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!
"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."
Synopsis
Now web developers can create cross-platform mobile apps in a language they already knowAre you a web developer eager to move into the mobile space, but don't have the time to learn a new language? Then PhoneGap is what you've been waiting for. PhoneGap is a free and open source framework that allows you to create cross-platform applications using HTML, CSS, and JavaScript. Beginning PhoneGap shows you how to make it happen. After a brief review on installing and configuring PhoneGap, you quickly dive into using PhoneGap to build iOS, Android, and Blackberry applications. Each chapter provides an in-depth view of different components, and lets you master each through exercises before moving on to the next piece. By the end of the book, you'll be ready to create your own mobile applications.
Beginning PhoneGap:
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.
wrox.com
Programmer Forums
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.
Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Read More
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
INTRODUCTION xix
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
INDEX 349