Book description
Using Apache Cordova 4, you can leverage native technologies and web standards to quickly build cross-platform apps for most mobile devices. You can deliver a high-end user experience where it matters, while radically simplifying code maintenance and reuse. Apache Cordova 4 Programming is the most concise, accessible introduction to this remarkable technology.
In this essential guide, expert mobile developer John Wargo quickly gets you up to speed with all the essentials, from installation, configuration, and tools, to building plugins and using Cordova’s powerful APIs. Wargo helps you make the most of Cordova 4’s major enhancements, while offering practical guidance for all versions, including Adobe PhoneGap. Full chapters are dedicated to five major mobile platforms: Android, iOS, Windows Phone, Firefox OS, and Ubuntu.
Using rich, relevant examples, Wargo guides you through both the anatomy of a Cordova app and its entire lifecycle, including cross-platform testing and debugging. Throughout, he illuminates Cordova development best practices, streamlining your development process and helping you write high-quality apps right from the start.
Topics include
Installing and configuring Cordova’s development environment
Working with the Cordova command line interfaces
Creating Cordova plugins, using Plugman and the PhoneGap CLI
Cordova’s support for Firefox OS and Ubuntu devices
Automation (Grunt and Gulp) and Cordova CLI hooks
Microsoft’s hybrid toolkit for Visual Studio
Third-party tools, such as AppGyver, GapDebug, THyM, and more
Beautifying Cordova apps with third-party HTML frameworks, such as Bootstrap, OpenUI5, Ionic, and Onsen UI
Running, testing, and debugging Cordova apps on each major mobile platform
Access the full code examples at cordova4programming.com, where you’ll also find updates reflecting Cordova’s continuing evolution.
This book is an ideal companion to Wargo’s authoritative collection of Apache Cordova code recipes for each Cordova API, Apache Cordova API Cookbook (Addison-Wesley, 2015).
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Foreword
- Preface
- Acknowledgments
- About the Author
-
1. The What, How, Why, and More of Apache Cordova
- An Introduction to Apache Cordova
- What Is Adobe PhoneGap?
- A Little PhoneGap/Cordova History
- Cordova Components
- Access to Native APIs
- Cordova User Interface Capabilities
- Supported Platforms
- Cordova License
- Working with Cordova
- Putting Cordova to Best Use
- Getting Support
- Resources
- Cordova Going Forward
- Hybrid Application Frameworks
- Wrap-Up
- 2. Anatomy of a Cordova Application
- 3. Configuring a Cordova Development Environment
- 4. Using the Cordova Command-Line Interfaces
- 5. The Mechanics of Cordova Development
- 6. Automation and the Cordova CLI
- 7. Android Development with Cordova
- 8. Firefox OS Development with Cordova
- 9. iOS Development with Cordova
- 10. Ubuntu Development with Cordova
-
11. Windows Development with Cordova
- Windows versus WP8 Projects and Cordova
- Windows Phone Limitations and Security Restrictions
- Windows Development System Requirements
- Windows Phone Development Tools
- Windows App Store Setup
- Configuring a Windows Phone Device for Application Testing
- Cordova Development Workflow Using Visual Studio
- Using Visual Studio Tools for Apache Cordova
- Wrap-Up
- 12. Using PhoneGap Build
- 13. Using the PhoneGap CLI
-
14. Working with the Cordova APIs
- The Cordova Core APIs
- Working with the Cordova API Documentation
- Checking API Availability
- Catching Errors
- Setting Application Permissions
- Cordova Objects
- Alerting the User
- Cordova Events
- Hardware APIs
- Globalization
- Working with the Contacts Application
- Playing/Recording Media Files
- InAppBrowser
- Splashscreen
- StatusBar
- Wrap-Up
- 15. Cordova Development End to End
- 16. Creating Cordova Plugins
- 17. Using Third-Party UI Frameworks with Cordova
- 18. Using Third-Party Tools with Cordova
- Index
- Code Snippets
Product information
- Title: Apache Cordova 4 Programming
- Author(s):
- Release date: April 2015
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780134048284
You might also like
video
Applying Apache Cordova and PhoneGap
Build web apps that take can advantage of features such as the camera, accelerometer, address book, …
book
Apache Cordova 3 Programming
Covers PhoneGap 3.X Written for experienced mobile developers, is a complete introduction to Apache Cordova 3 …
book
Sams Teach Yourself PHP, MySQL® and Apache All in One
A new edition of the best selling book that covers three popular open-source tools in one …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …