Skip to content

santiagopm/chrome-app-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
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
desktop-capture 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
hid hid usb 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 systemInfo 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 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)
tts (no screenshot) (not published)
udp socket ios Try it now
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-samples_browser webview Try it now
webview-samples_declarative-web-request storage webview Try it now
webview-samples_insert-css storage webview Try it now
webview-samples_local-resources webview Try it now
webview-samples_new-window webview Try it now
webview-samples_new-window-user-agent contextMenu webview Try it now
webview-samples_url-handler storage webview (not published)
webview-samples_user-agent webview Try it now
webview-samples_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 webview-samples_new-window-user-agent
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-samples_webview
getUserMedia camera-capture io2012-presentation io2012-presentation_servo manga-cam servo usb-label-printer webview-samples_webview
hid hid
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-samples_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 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 weather web-store webview-samples_declarative-web-request webview-samples_insert-css webview-samples_url-handler
syncFileSystem manga-cam syncfs-editor todomvc
systemInfo mdns-browser printing systemInfo
usb hid usb_knob usb-label-printer
webstore web-store
webview appengine_channelapi_app io2012-presentation tcpserver webview-samples_browser webview-samples_declarative-web-request webview-samples_insert-css webview-samples_local-resources webview-samples_new-window webview-samples_new-window-user-agent webview-samples_url-handler webview-samples_user-agent webview-samples_webview

Mobile support

You can generate native mobile versions of the samples below using the procedure described here.

SampleAndroid supportiOS support
analyticsSupported.Supported.
calculatorSupported. Visual issues caused by fixed-size layoutSupported. Visual issues caused by fixed-size layout
dartSupported. Visual issues caused by fixed-size layout
hello-worldSupported.Supported.
hello-world-syncSupported. sync storage doesn't actually sync - works localSupported. sync storage doesn't actually sync - works local
identitySupported. 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-droneSupported. Communication to the Drone works, but the UI requires a connected gamepad.
restarted-demoSupported. Restart must be done via Safari remote debugging.
rich-notificationsSupported.
tasksSupported.
tcpserverSupported.
telnetSupported. Can't enter CR/LF in virtual keyboardsSupported. Can't enter CR/LF in virtual keyboards and display issues
todomvcSupported.
udpSupported.
weatherSupported.
webserverSupported. Directory picking doesn't work on some versions of Android
websocket-serverSupported.

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.

Releases

No releases published

Packages

No packages published