Beginning PhoneGap [electronic resource] : Mobile Web Framework for JavaScript and HTML5 /
Ghatol, Rohit.author.
Patel, Yogesh.author.
PhoneGap is a growing and leading open-source mobile web apps development framework that lets developers build JavaScript and HTML5-based web applications with native wrappers for more than six mobile platforms, including iOS, Android, and BlackBerry. This framework lets you build HTML- and JavaScript-based apps and still take advantage of native mobile device capabilities like camera, localStorage, geolocation, storage and much more, irrespective of the mobile platform you target. It also lets you use more specialized JavaScript frameworks like jQuery Mobile and more. Beginning PhoneGap is a definitive, one-of-a-kind book that teaches the fundamentals and strategies behind cross-platform mobile application development. Instead of learning languages like Objective-C, focus on building apps from day one for Android, iOS, Blackberry, WebOS and Symbian—without the complexities of these platforms. This book shows how to build apps which makes use of Google Local Search to create a Restaurant finder apps (which uses Maps to layout locations and uses internal database to store your favorite restaurants. Furthermore, you'll learn how to extend PhoneGap's functionality by using PhoneGap plugins to write apps like Dropbox (syncing files in the background outside HTML/JavaScript code and in native code). By the time you finish Beginning PhoneGap, you'll know PhoneGap inside and out, and, consequently, be able to develop mobile web apps faster and more efficiently than ever before. Make more money in less time!
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Authors; About the Technical Reviewers; Acknowledgments; Introduction; Who This Book Is For; How This Book Is Structured; Downloading the Code; Contacting the Authors; Chapter 1: Understanding Cross-Platform Mobile Application Development; Types of Mobile Applications; Understanding Web Services; Overview of Mobile Applications; Mobile Application Features; User Interaction; Location Awareness; Push Notification; Challenges in Cross-Platform Mobile Application Development; OS Fragmentation; Multiple Teams/Products
Consistent User ExperienceFeature Fragmentation; Development Environment Fragmentation; PhoneGap's Strategy for Cross-Platform Mobile Application; Browser Component As the Common Platform; Mobile Application Webviews; Native Hooks to Expose Device Capabilities; HTML5 and CSS3: The Standards for Writing Applications; Single Origin Policy Not Applicable; Conclusion; Chapter 2: Getting Started with PhoneGap; PhoneGap Architecture; Setting up an Environment on the Android; Required Installations for PhoneGap Android Project; Instruction for Windows; Instructions for Linux
Instruction for Mac OSX IntelCreate a New Project; Write the HelloWorld Application; Deploy to Simulator; Deploy to the Device; Exploring PhoneGap Features; PhoneGap Tutorials; Emulator Examples; Fetching Device Information; Fetching the Device's Contacts; Fetching the SD Card Listing; Writing and Reading to a File; Writing and Reading from the Database; Fetching Details about a Cellular Device or a Wi-Fi Network; Device Examples; Fetching the Geolocation; Fetching the Accelerometer; Fetching Compass Bearings; Capturing an Image from the Camera; Chapter 3: Setting the Environment
Local Development EnvironmentPrerequisite Steps; Download PhoneGap; Setting Environment for iOS Using Xcode 4; Setting Environment for BlackBerry; Setting Environment for Symbian; Setting Environment for webOS; Cloud Build Environment Using PhoneGap Build; Registering with PhoneGap Build; Registering Your Application with PhoneGap Build; Setting Up Android Build Environment; 1. Create Private Keystore; 2. Upload the Private Keystore to PhoneGap Build; 3. Run PhoneGap Build; Setting Up iOS Build Environment; 1. Getting iOS Keys; 2. Providing iOS Keys to PhoneGap Build
Setting Up BlackBerry Build Environment1. Getting BlackBerry Keys; 2. Providing BlackBerry Keys to PhoneGap Build; Launching PhoneGap Build; Conclusion; Chapter 4: Using PhoneGap with jQuery Mobile; Getting Acquainted with jQuery; jQuery Initialization; jQuery Selectors; Element-Based Selector; ID-Based Selector; CSS-Based Selector; Combination of Selectors; jQuery DOM Manipulation; jQuery Ajax Calls; Getting Acquainted with jQueryMobile; Including jQueryMobile in Mobile App; jQueryMobile Declarative UI; Pages and Dialogs; Toolbars and Buttons; Form Elements; List Views
jQueryMobile Event Handling
Includes index.
PhoneGap is a growing and leading open-source mobile web apps development framework that lets developers build JavaScript and HTML5-based web applications with native wrappers for more than six mobile platforms, including iOS, Android, and BlackBerry. This framework lets you build HTML- and JavaScript-based apps and still take advantage of native mobile device capabilities like camera, localStorage, geolocation, storage and much more, irrespective of the mobile platform you target. It also lets you use more specialized JavaScript frameworks like jQuery Mobile and more. Beginning PhoneGap is a definitive, one-of-a-kind book that teaches the fundamentals and strategies behind cross-platform mobile application development. Instead of learning languages like Objective-C, focus on building apps from day one for Android, iOS, Blackberry, WebOS and Symbian—without the complexities of these platforms. This book shows how to build apps which makes use of Google Local Search to create a Restaurant finder apps (which uses Maps to layout locations and uses internal database to store your favorite restaurants. Furthermore, you'll learn how to extend PhoneGap's functionality by using PhoneGap plugins to write apps like Dropbox (syncing files in the background outside HTML/JavaScript code and in native code). By the time you finish Beginning PhoneGap, you'll know PhoneGap inside and out, and, consequently, be able to develop mobile web apps faster and more efficiently than ever before. Make more money in less time!
PhoneGap (Application development environment)
Computer programming.
Application software.
Web Development.
Computer Applications.