HAPPY BOOKSGIVING
Use code BOOKSGIVING during checkout to save 40%-55% on books and eBooks. Shop now.
Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is a working draft of a pre-release book. It is available before the published date as part of the Rough Cuts service.
“For those not ready to tackle the complexities of Objective-C, this is a great way to get started building iPhone apps. If you know the basics of HTML, JavaScript, and CSS, you’ll be building apps in no time.”
—August Trometer, Owner of FoggyNoggin Software, www.foggynoggin.com
Discover the Easier, Faster Way to Build High-Quality iPhone Applications
Now, you don’t need to dive headfirst into Objective-C to write state-of-the-art applications for the iPhone. You can use web development tools and technologies you already know: JavaScript, HTML, and CSS. In this book, long-time web and mobile application developer Lee S. Barney shows you how to use the QuickConnect and PhoneGap frameworks to create secure, high-quality, modular hybrid iPhone applications.
Lee S. Barney walks you through the entire hybrid iPhone development process, from creating great user interfaces to compiling, deploying, and executing applications. Along the way, he introduces techniques and sample code designed to streamline development, eliminate complexity, optimize performance, and leverage all iPhone’s native capabilities—from its accelerometer and GPS to its built-in database. Coverage includes
This book systematically lowers the barriers to iPhone development, enabling web developers to build any iPhone application they can imagine without long development cycles or steep learning curves!
Preface xiii
Chapter 1: Developing with Dashcode and Xcode 1
Chapter 2: JavaScript Modularity and iPhone Applications 25
Chapter 3: Creating iPhone User Interfaces 45
Chapter 4: GPS, Acceleration, and Other Native Functions with QuickConnect 75
Chapter 5: Hybrid Applications, GPS, Acceleration, and Other Native Functions with PhoneGap 95
Chapter 6: Embedding Google Maps 111
Chapter 7: Database Access 127
Chapter 8: Remote Data Access 155
Appendix A: Introduction to JSON 173
Appendix B: The QuickConnectFamily Development Roadmap 179
Appendix C: The PhoneGap Development Roadmap 183