Programming Chrome Apps
- Length: 274 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2015-01-01
- ISBN-10: 1491904283
- ISBN-13: 9781491904282
- Sales Rank: #1832599 (See Top 100 Books)
Put your web app design skills to work by learning how to create powerful and portable Chrome Apps. With this practical book, you’ll learn how to build Google’s unique apps to behave just like native apps so they can interact with hardware devices, access external files, and send notifications.
Author Marc Rochkind takes you through a hands-on, objective tour of Chrome Apps, which run on any platform that supports the Chrome browser—including OS X, Windows, Linux, as well as Android and iOS. If you know how to work with HTML, CSS, JavaScript, and the DOM, you’re ready to get started.
- Learn how to build, run, and debug Chrome Apps step-by-step
- Use Chrome Apps to access local files, sync files, and external files
- Take advantage of key-value-pair APIs, including sync storage and IndexedDB
- Use WebSockets, Google Cloud Messaging, and other networking methods
- Display graphics and images with Canvas, SVG, and the Media Galleries API
- Use alarms, context menus, location, the camera, Bluetooth, USB, and other APIs
- Publish apps to the Chrome Web Store with the Chrome Dev Editor
Table of Contents
Chapter 1. Your First Chrome App
Chapter 2. Local Files, Sync Files, and External Files
Chapter 3. Local Storage, Sync Storage, and IndexedDB
Chapter 4. Networking and Messaging
Chapter 5. Graphics and Imaging
Chapter 6. Miscellaneous APIs
Appendix A. Modal Dialogs
Appendix B. Registering Chrome Apps with Google
Appendix C. Using Google Cloud Messaging
Appendix D. Using Cordova to Build Chrome Apps for Mobile Devices