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. | |
tcpserver | Supported. | |
telnet | Supported. Can't enter CR/LF in virtual keyboards | Supported. Can't enter CR/LF in virtual keyboards and display issues |
todomvc | Supported. | |
udp | Supported. | |
weather | Supported. | |
webserver | Supported. Directory picking doesn't work on some versions of Android | |
websocket-server | Supported. |
Copyright 2013 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.