Official samples for Chrome Apps platform. If you want to learn about the platform, you can:
- look at the source code of the samples below. Most samples have a "Try it now" button that allows you to install and play with it.
- read the official docs
- follow the official Codelab presented at Google I/O
If you have questions, search or ask at StackOverflow (observe the google-chrome-app tag) or join the Chromium Apps Google group.
You can generate native mobile versions of the samples below using the procedure described here.
Sample | Android support | iOS support |
---|---|---|
analytics | Supported. | Supported. |
calculator | Supported. Visual issues caused by fixed-size layout | Supported. Visual issues caused by fixed-size layout |
dart | Supported. Visual issues caused by fixed-size layout | |
hello-world | Supported. | Supported. |
hello-world-sync | Supported. sync storage doesn't actually sync - works local | Supported. sync storage doesn't actually sync - works local |
identity | Supported. You need to add an Android OAuth app in the Cloud API console of the OAuth project. The app's SHA1 can be the debug one (see more here), and the package name is org.chromium.identity.MyApp. If you don't add the Android OAuth app and tries to use the OAuth client-id from the Chrome app, you will get a generic message GoogleAuthException | |
parrot-ar-drone | Supported. Communication to the Drone works, but the UI requires a connected gamepad. | |
restarted-demo | Supported. Restart must be done via Safari remote debugging. | |
rich-notifications | Supported. | |
tasks | Supported. | |
todomvc | Supported. | |
udp | Supported. | |
weather | Supported. | |
webserver | Supported. Directory picking doesn't work on some versions of Android | |
websocket-server | Supported. |