Chrome apps on Android and iOS
Python JavaScript Shell HTML CSS
Permalink
Failed to load latest commit information.
cca-manifest-logic Set version of cca-manifest-logic to 1.1.6-dev Nov 10, 2015
chrome-cordova Update APIStatus of syncFileSystem to "unfeasible" Nov 12, 2015
cordova Update dependencies Nov 10, 2015
dev-bin Fix typo in create-tgz.sh script Nov 11, 2015
dev-docs Update release process to work around newer npm not packing node_modules Nov 11, 2015
docs Mention setting the xwalk version via "webview": "crosswalk@ver" Nov 27, 2015
src Remove debugging console.log Nov 17, 2015
templates Update to new plugin names in pre-prepare and templates/config.xml Apr 30, 2015
tests Quick smoke test added, jshint added May 27, 2014
.gitignore Add back .gitignore Aug 6, 2015
.gitmodules Bump cordova dependency to 5.0.0. Unbundle whitelist & crosswalk plugins Apr 23, 2015
.jscs.json adding jscs config file Aug 18, 2014
.jshintrc Add .jshintrc file and fix all JSHint errors Jul 3, 2014
.npmignore Updates for npm publishing Jan 14, 2014
AUTHORS Cleaning up references to old chrome-cordova repo Feb 28, 2014
CONTRIBUTING.md Fixed ChromeSpec App Name in docs Jul 29, 2014
CONTRIBUTORS Updated CONTRIBUTORS Jul 28, 2014
LICENSE Add LICENCE.md file for mobile-chrome-apps repo Feb 4, 2014
README.md Update README.md to say the project is not getting any new features Aug 10, 2015
RELEASENOTES.md Set version to 0.8.0-rc1 Nov 10, 2015
gulpfile.js Add .jshintrc file and fix all JSHint errors Jul 3, 2014
package.json Set version to 0.8.2-dev and removed shrinkwrap. Nov 17, 2015

README.md

Create Chrome Apps for Mobile Using Apache Cordova

The Chrome Apps for Mobile Toolchain is no longer being actively developed. We intend to keep it functional, but do not intend on adding any new features.

A Chrome App running on both desktop and mobile

Overview

Chrome Apps for Mobile is a project based on Apache Cordova to run your Chrome Apps on both Android and iOS. The project provides a native application wrapper around your Chrome App, allowing you to distribute it via the Google Play Store and the Apple App Store. Cordova plugins give your App access to a wide range of APIs, including many of the core Chrome APIs. The newest version of Chrome Apps for Mobile includes Chrome APIs for identity, Google Cloud Messaging (GCM) and rich notifications.

For an overview and demo of hybrid development, Chrome Apps for Mobile, and our Chrome App Developer Tool for Mobile, check out our Google I/O Bytes video.

Chrome Apps on Android and iOS

Tools

Using CDE, cca, and CADT to develop Chrome Apps for Mobile

The cca Command Line Tool

cca provides all the functionality you need to develop and package Chrome Apps for Mobile from the command line. Use it with Chrome App Developer Tool (below) to rapidly iterate on your code: live deploy allows you to instantly see your Chrome App running on a connected mobile device. When you are ready to publish your Chrome App for Mobile to the Apple App Store and Google Play Store, use cca to bundle up your Chrome App into the proper mobile packages.

Chrome App Developer Tool for Mobile (CADT)

CADT is an app for your mobile development device that makes it quick and easy to see your code in action. It provides the Cordova framework of Chrome Apps for Mobile so you can test your code by simply pushing your Chrome App assets to your mobile device (made easy with our tools), which is must faster than packaging up the entire mobile app. This is called live deploy.

With CADT running on your mobile device, live deploy can be initiated from your development computer with either Chrome Dev Editor or the cca command line tool, allowing you to instantly preview the Chrome App you're editing, running right on Android or iOS. When you make a change to the code in your editor, you're a quick push away from seeing it straight on your device.

Chrome Dev Editor (CDE)

CDE is an IDE built specifically for Chrome Apps. Use it with CADT for live deploy.

Try it out

Try out Chrome Apps for Mobile by following these steps:

It's also a good idea to go through our codelab, where you will learn to use chrome.gcm and chrome.notifications to build a simple chat app.

Things to Know

  • The Chrome Apps for Mobile project is built on top of Apache Cordova, the open source mobile development framework for building mobile apps with native capabilities using HTML, CSS and JavaScript.

  • cca projects are Cordova projects.

  • By default, Chrome Apps built with cca use Crosswalk, (advantages and tradeoffs).

  • Most Cordova plugins that provide chrome.* APIs work with regular Cordova projects.

  • There is a List of Chrome App APIs that are supported on mobile.

  • For even more, see the FAQ.

Let's get started

Continue to Step 1: Install your development tools »