PhoneGap: Beginner's Guide - Third Edition

Beginner's Guide
 
 
Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 28. Juli 2015
  • |
  • 284 Seiten
 
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78439-304-5 (ISBN)
 
Given the increase in usage of mobile devices, mobile app development is in huge demand. This book provides you with the skills you need to successfully create, develop, debug, and deploy a cross-platform mobile application with PhoneGap 5. The book starts with the basics of PhoneGap, covering setting up your development environment, creating a simple project, and debugging and deploying it to your mobile devices. By sequentially working through the sections in each chapter, you will quickly get to know about the available features of various mobile frameworks and the various PhoneGap plugins you can utilize to create your apps. You will then learn how to build a hybrid application using PhoneGap. Finally, by the end of the book, you will be able to implement the most common features of modern mobile apps and build rich, native-style applications.
  • Englisch
  • Birmingham
  • |
  • Großbritannien
  • Überarbeitete Ausgabe
978-1-78439-304-5 (9781784393045)
1784393045 (1784393045)
weitere Ausgaben werden ermittelt
Purusothaman Ramanujam is a mainframe consultant and an automation expert by profession and a full stack web developer and trainer by passion. He holds a bachelor's degree in information technology and a master's degree in financial management. He has a strong domain knowledge of financial markets. Apart from working full-time at a multinational corporation, he freelances and contributes to various open source projects. In his personal blog at http://www.purusothaman.me, he writes about technology, Tamil poetry, French, and more. Giorgio Natili is an author, educator, community leader, and lead UI engineer at McGraw Hill Education; he is also a publisher of print and digital information services for the academic, professional, and library markets.
At McGraw Hill, he is involved with multiple client-side teams on cross-platform mobile and web applications, developing custom components (web and native) and bringing mock-ups to life!
Giorgio was also the founder of GNStudio, a boutique Rome-based development and design studio specializing in engaging and accessible web and mobile experiences.
As a strong proponent of agile development practices, Giorgio's areas of expertise include web standards-based application development, frontend development, gaming, video streaming, iOS development using Swift and Objective-C, Android development, and hybrid development (mobile and wearables).
Giorgio is the founder of Mobile Tea (http://www.meetup.com/mobiletea/), a fresh and innovative approach to community tech events, and is involved in several other community-driven events in Italy and the US.
  • Cover
  • Copyright
  • Credits
  • Foreword
  • About the Authors
  • About the Reviewers
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 1: Introduction to PhoneGap
  • About PhoneGap
  • PhoneGap and Apache Cordova
  • The evolution of PhoneGap and Cordova
  • Choosing an operating system for development
  • Mobile web versus mobile app
  • Installing dependencies
  • Java JDK
  • Apache Ant
  • Installing PhoneGap
  • Setting up your development environment
  • Time for action - setting up Android using PhoneGap 3.x
  • Working with other platforms
  • Getting started with Android and JBoss
  • Time for action - using JBoss Developer Studio
  • Getting started with iOS and Xcode
  • Getting started with Windows Phone and Visual Studio
  • Summary
  • Chapter 2: Building Your First PhoneGap Project
  • The structure of a PhoneGap application
  • Using the PhoneGap CLI
  • Cordova events
  • The deviceready event
  • The online event
  • The offline event
  • The pause event
  • The resume event
  • The backbutton event
  • Time for action - the Hello World example
  • WebKit debugging - Chrome, Safari, and Opera
  • Gecko debugging - Firefox
  • Internet Explorer
  • Debugging workflow
  • Building and deployment
  • Summary
  • Chapter 3: Mobile Frameworks
  • Building native UI for mobile
  • The viewport meta tag
  • Unwanted telephone number linking
  • Autocorrect
  • CSS media queries and mobile properties
  • Screen orientation
  • Device orientation
  • Shake gestures
  • Media capture APIs
  • Data URI
  • Achieving a native look and feel on iOS
  • Choosing mobile frameworks
  • Using HTML5 Mobile Boilerplate
  • Using Zurb Foundation
  • Using Twitter Bootstrap
  • Ionic framework
  • ExtJS
  • AngularJS
  • jQuery Mobile
  • Time for action - developing with jQuery Mobile
  • Selecting a framework
  • Summary
  • Chapter 4: Working with Plugins
  • An introduction to plugins
  • Getting started with plugins
  • Installing plugins
  • Removing plugins
  • Using plugins with Plugman
  • Exploring the Device API
  • Time for action - accessing the Device API
  • Custom plugins
  • Summary
  • Chapter 5: Using Device Storage and the Files API
  • Application data storage
  • Exploring the PhoneGap LocalStorage API
  • Time for action - reading and writing data on the LocalStorage
  • Exploring the PhoneGap SQL storage
  • Working with database storage in PhoneGap
  • Time for action - populating a local database
  • Database limitations
  • Understanding the Files API
  • Reading directories and files
  • Time for action - listing folders
  • Writing and reading a file's data
  • Time for action - reading and rendering an image
  • Transferring files
  • Time for action - downloading and saving a file
  • Summary
  • Chapter 6: Using the Contacts and Camera APIs
  • The Contacts API
  • The ContactName object
  • The ContactField object
  • The ContactAddress object
  • The ContactOrganization object
  • The Contact object
  • Filtering contact data
  • Time for action - searching device contacts
  • Time for action - adding a new contact
  • Camera API or Capture API?
  • Accessing the camera using the Camera API
  • Time for action - accessing the device camera
  • Controlling the camera popover
  • Time for action - controlling the position of the camera roll
  • The Media Capture API
  • Time for action - manipulating images with a canvas
  • Summary
  • Chapter 7: Accessing the Device Sensors and Locations API
  • Introducing device sensors
  • Sensors and human-computer interaction
  • Accelerometer
  • Detecting shakes
  • Device orientation events
  • Handling orientation with JavaScript
  • Time for action - handling device orientation with JavaScript
  • Compass
  • Creating a compass
  • Time for action - using the Compass API
  • An introduction to geolocation
  • The PhoneGap Geolocation API
  • Time for action - showing device position with Google Maps
  • Other geolocation data
  • Summary
  • Chapter 8: Advanced PhoneGap
  • Using the Globalization API
  • Localizing your app
  • Time for action - rendering localized messages
  • Adding multitouch gesture support
  • Time for action - implementing gesture support
  • Handling click delays
  • Summary
  • Chapter 9: Getting Ready for Release
  • Exploring JavaScript compression
  • Google Closure Compiler
  • Time for action - compressing files using the Closure Compiler
  • UglifyJS2
  • Time for action - using UglifyJS
  • Optimization with RequireJS
  • Time for action - optimizing JavaScript with RequireJS
  • Comparing compression tools
  • Using template engine compression
  • Time for action - compiling a template using Pistachio
  • Creating fluid, multiple app views
  • Using hardware-accelerated transitions
  • AliceJS
  • Porting web applications
  • Summary
  • Chapter 10: A Sample PhoneGap Project
  • What's in the app?
  • Libraries used
  • Twitter Bootstrap
  • jQuery
  • mMenu
  • FastClick
  • Creating the project
  • Installing plugins
  • Design of the homepage
  • Using the Accelerometer API
  • Using the Device API
  • Using the Camera API
  • Using the Capture API
  • Using the Connection API
  • Using the Contacts API
  • Using the Files API
  • Using the Globalization API
  • Using the InApp Browser API
  • Using the Notification API
  • Using the Splash Screen API
  • Using the GeoLocation API
  • Building the app
  • Scope for improvements
  • Summary
  • Appendix A: The JavaScript Quick Cheat Sheet
  • The getElementById() method
  • The getElementsByTagName() method
  • The getElementsByName() method
  • The alert method
  • The toString() method
  • The parseInt() method
  • The getDate() method
  • The onclick event
  • The ondblclick event
  • The window.location object
  • Selectors using jQuery
  • Appendix B: Publishing Your App
  • Publishing on Google Play
  • Publishing on Blackberry World
  • Publishing on the Apple App Store
  • Publishing on the Windows Phone Store
  • Summary
  • Appendix C: Related Plugin Resources
  • PhoneGap Tools
  • The PhoneGap Developer App
  • The PhoneGap Desktop App
  • Summary
  • Index

Dateiformat: EPUB
Kopierschutz: Adobe-DRM (Digital Rights Management)

Systemvoraussetzungen:

Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat EPUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Weitere Informationen finden Sie in unserer E-Book Hilfe.


Download (sofort verfügbar)

35,85 €
inkl. 19% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe DRM
siehe Systemvoraussetzungen
E-Book bestellen

Unsere Web-Seiten verwenden Cookies. Mit der Nutzung dieser Web-Seiten erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok