Skip to content
This repository

Chrome Apps

branch: master

Merge pull request #197 from GoogleChrome/pr/107

Add Text-to-Speech Sample
latest commit b536b39958
Paul Kinlan PaulKinlan authored
Octocat-spinner-32 analytics updated sample manifest files January 23, 2014
Octocat-spinner-32 appengine_channelapi Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 appsquare Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 browser Moved the find box intersection conditions to a helper method. March 04, 2014
Octocat-spinner-32 calculator bumped calculator version March 25, 2014
Octocat-spinner-32 camera-capture Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 clock Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 context-menu Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 dart Update clock dart packaged app example for a modern dart. January 24, 2014
Octocat-spinner-32 dialog-element Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 diff Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 dojo Update dojo README to refer to the .crx April 13, 2013
Octocat-spinner-32 filesystem-access Removed old "Try it" in README.md January 16, 2014
Octocat-spinner-32 frameless-window Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 gapi-chrome-apps-lib Allow caller to specify alternate root url March 27, 2014
Octocat-spinner-32 gcm-notifications add gcm-notifications to index March 10, 2014
Octocat-spinner-32 gdrive Merge pull request #166 from vinitkumar/patch-1 December 13, 2013
Octocat-spinner-32 github-auth Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 hello-world-sync updated sample manifest files January 23, 2014
Octocat-spinner-32 hello-world [hello-world] Bumped manifest version March 25, 2014
Octocat-spinner-32 identity fixed minor issue in comment. February 27, 2014
Octocat-spinner-32 image-edit added screenshot thumbnails and a new generic README.md October 02, 2013
Octocat-spinner-32 in-app-payments-with-server-validation updating buy.js December 19, 2013
Octocat-spinner-32 in-app-payments updating buy.js December 19, 2013
Octocat-spinner-32 instagram-auth Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 io2012-presentation Adapt serial samples to additional API changes. November 25, 2013
Octocat-spinner-32 ioio Add more window IDs October 16, 2013
Octocat-spinner-32 keyboard-handler Add IDs to sample apps that create windows October 16, 2013
Octocat-spinner-32 manga-cam added manga-cam metadata December 13, 2013
Octocat-spinner-32 mdns-browser Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 media-gallery [mediaGallery] Added toURL() support March 31, 2014
Octocat-spinner-32 messaging Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 mini-code-edit Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 multicast Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 one-time-payment added metadata files January 21, 2014
Octocat-spinner-32 optional-permissions added screenshot thumbnails and a new generic README.md October 02, 2013
Octocat-spinner-32 parrot-ar-drone added metadata files January 21, 2014
Octocat-spinner-32 printing fixed printing README November 04, 2013
Octocat-spinner-32 push-guestbook [push-guestbook] Bumped App manifest version March 10, 2014
Octocat-spinner-32 push-messaging-roundtrip-sample Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 push-sample-app Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 restarted-demo updated sample manifest files January 23, 2014
Octocat-spinner-32 rich-notifications Revert "Progress loops from 10-100" March 30, 2014
Octocat-spinner-32 sandbox Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 sandboxed-content Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 serial-control-signals Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 serial - test with less are done in pin 13 because have a resistor for it April 13, 2014
Octocat-spinner-32 servo Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 singleton Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 storage Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 syncfs-editor Add more window IDs October 16, 2013
Octocat-spinner-32 systemInfo [systemInfo] Bumped manifest version and updated webstore assets February 12, 2014
Octocat-spinner-32 tasks added metadata files January 21, 2014
Octocat-spinner-32 tcpserver Removed incorrect window id March 04, 2014
Octocat-spinner-32 telnet updated sample manifest files January 23, 2014
Octocat-spinner-32 text-editor Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 todomvc added metadata files January 21, 2014
Octocat-spinner-32 tts Fixed lots of nits February 14, 2014
Octocat-spinner-32 twitter-webview-client Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 udp updated sample manifest files January 23, 2014
Octocat-spinner-32 url-handler Fix typo December 22, 2013
Octocat-spinner-32 usb-label-printer Add info on how to adapt usb-label-printer to other printers December 19, 2013
Octocat-spinner-32 usb fixed some dead links March 06, 2014
Octocat-spinner-32 weather updated sample manifest files January 23, 2014
Octocat-spinner-32 web-store [web-store] Updated key to reflect the one from the published app March 25, 2014
Octocat-spinner-32 webgl-pointer-lock Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 webserver added metadata files January 21, 2014
Octocat-spinner-32 websocket-server updated sample manifest files January 23, 2014
Octocat-spinner-32 webview fixed OAUth ID and key of identity sample; bumped webview version December 13, 2013
Octocat-spinner-32 window-options updated READMEs March 31, 2014
Octocat-spinner-32 window-state Remove controls for modifying size constraints. This was replaced by … March 12, 2014
Octocat-spinner-32 windows Merge pull request #170 from beaufortfrancois/cleanDocURLs December 13, 2013
Octocat-spinner-32 zephyr_hxm updated Zephyr Heart Rate monitor sample to work with current API October 11, 2013
Octocat-spinner-32 .gitignore Removed conflict markers from .gitignore file. November 27, 2012
Octocat-spinner-32 .gitmodules Add CodeMirror submodule to syncfs-editor March 17, 2013
Octocat-spinner-32 LICENSE Add http://www.apache.org/licenses/LICENSE-2.0.txt. March 29, 2013
Octocat-spinner-32 README.md updated READMEs March 31, 2014
Octocat-spinner-32 nodejs-net.coffee Init commit of samples June 27, 2012
Octocat-spinner-32 tryitnowbutton.png added "try it now" button image October 01, 2013
Octocat-spinner-32 tryitnowbutton_small.png added small version of CWS tryitnow button October 02, 2013
README.md

Chrome Apps samples

Official samples for Chrome Apps platform. If you want to learn about the platform, you can:

  1. 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.
  2. read the official docs
  3. 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.

Samples

Sample API or feature Screenshot Link to CWS
analytics storage ios android Try it now
appengine_channelapi_app webview Try it now
appsquare geolocation identity storage Try it now
browser webview Try it now
calculator ios android Try it now
camera-capture getUserMedia Try it now
clock framelessWindows geolocation richNotifications storage Try it now
context-menu contextMenu Try it now
dart dart ios Try it now
dialog-element (no screenshot) Try it now
diff fileSystem storage Try it now
filesystem-access fileSystem storage Try it now
frameless-window framelessWindows Try it now
gcm-notifications richNotifications storage Try it now
gdrive framelessWindows identity Try it now
github-auth identity Try it now
hello-world ios android Try it now
hello-world-sync storage ios android Try it now
identity identity android Try it now
image-edit fileSystem storage Try it now
in-app-payments in-app-payments Try it now
in-app-payments-with-server-validation_chromeapp in-app-payments Try it now
instagram-auth identity (no screenshot) Try it now
io2012-presentation framelessWindows getUserMedia serial storage webview (not published)
io2012-presentation_helloworld (no screenshot) (not published)
io2012-presentation_servo getUserMedia serial (no screenshot) (not published)
ioio bluetooth Try it now
keyboard-handler Try it now
manga-cam framelessWindows getUserMedia syncFileSystem Try it now
mdns-browser framelessWindows socket Try it now
media-gallery mediaGallery Try it now
messaging_app1 messaging Try it now
messaging_app2 messaging Try it now
messaging_extension messaging richNotifications Try it now
mini-code-edit contextMenu fileSystem Try it now
multicast framelessWindows messaging socket storage Try it now
one-time-payment identity storage Try it now
optional-permissions optionalPermissions Try it now
parrot-ar-drone socket android Try it now
printing print storage systemInfo Try it now
push-guestbook_guestbook-app pushMessaging (no screenshot) Try it now
push-messaging-roundtrip-sample pushMessaging richNotifications Try it now
push-sample-app pushMessaging richNotifications Try it now
restarted-demo storage ios Try it now
rich-notifications richNotifications android Try it now
sandbox sandbox Try it now
sandboxed-content sandbox Try it now
serial_adkjs_app serial Try it now
serial-control-signals serial Try it now
serial_ledtoggle serial Try it now
servo getUserMedia serial Try it now
singleton Try it now
storage Try it now
syncfs-editor syncFileSystem Try it now
systemInfo systemInfo Try it now
tasks identity android (no screenshot) Try it now
tcpserver socket webview android Try it now
telnet socket ios android Try it now
text-editor fileSystem Try it now
todomvc fileSystem richNotifications storage syncFileSystem android (no screenshot) (not published)
twitter-webview-client webview Try it now
udp socket ios Try it now
url-handler storage webview (not published)
usb_knob optionalPermissions usb Try it now
usb-label-printer fileSystem getUserMedia optionalPermissions usb Try it now
weather geolocation storage ios Try it now
webgl-pointer-lock framelessWindows pointerLock (no screenshot) Try it now
webserver socket android Try it now
websocket-server socket ios (no screenshot) Try it now
web-store fileSystem identity storage webstore Try it now
webview geolocation getUserMedia pointerLock webview Try it now
window-options fullscreen Try it now
windows framelessWindows Try it now
window-state fullscreen Try it now
zephyr_hxm bluetooth sandbox Try it now

Samples by features

API or feature Samples
bluetooth ioio zephyr_hxm
contextMenu context-menu mini-code-edit
dart dart
fileSystem diff filesystem-access image-edit mini-code-edit text-editor todomvc usb-label-printer web-store
framelessWindows clock frameless-window gdrive io2012-presentation manga-cam mdns-browser multicast webgl-pointer-lock windows
fullscreen window-options window-state
geolocation appsquare clock weather webview
getUserMedia camera-capture io2012-presentation io2012-presentation_servo manga-cam servo usb-label-printer webview
identity appsquare gdrive github-auth identity instagram-auth one-time-payment tasks web-store
in-app-payments in-app-payments in-app-payments-with-server-validation_chromeapp
mediaGallery media-gallery
messaging messaging_app1 messaging_app2 messaging_extension multicast
optionalPermissions optional-permissions usb_knob usb-label-printer
pointerLock webgl-pointer-lock webview
print printing
pushMessaging push-guestbook_guestbook-app push-messaging-roundtrip-sample push-sample-app
richNotifications clock gcm-notifications messaging_extension push-messaging-roundtrip-sample push-sample-app rich-notifications todomvc
sandbox sandbox sandboxed-content zephyr_hxm
serial io2012-presentation io2012-presentation_servo serial_adkjs_app serial-control-signals serial_ledtoggle servo
socket mdns-browser multicast parrot-ar-drone tcpserver telnet udp webserver websocket-server
storage analytics appsquare clock diff filesystem-access gcm-notifications hello-world-sync image-edit io2012-presentation multicast one-time-payment printing restarted-demo todomvc url-handler weather web-store
syncFileSystem manga-cam syncfs-editor todomvc
systemInfo printing systemInfo
usb usb_knob usb-label-printer
webstore web-store
webview appengine_channelapi_app browser io2012-presentation tcpserver twitter-webview-client url-handler webview

Mobile support

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.

Libraries and tools

Google APIs client library for Chrome Apps:

LICENSE

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

http://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.

Something went wrong with that request. Please try again.