close
Skip to content

simmoncn/chrome-app-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

755 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

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.

About

Chrome Apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors