/chrome-app-samples

Chrome Apps

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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.

Chrome packaged apps samples

This is the Google Chrome official repository for Chrome packaged apps samples. We have tried to demonstrate most of the Chrome packaged apps APIs.

Please join the Chromium Apps group for general discussion. We're also available on IRC at #chromium-apps (Freenode).

Samples categorized by showcased APIs or features:

Master application. Showcases all the other apps in one place:

Embedding content:

Sandbox to workaround CSP restrictions:

Webview:

Authentication and user identification:

Identity/OAuth:

Storage related:

Syncable filesystem (useful for media and files that need to be synced among different devices):

Syncable storage (useful for saving settings and application state):

Direct access to the filesystem (Filesystem API):

Media Gallery API:

App lifecycle and window management:

Window

Context menu:

Frameless window:

HTML Fullscreen API:

Optional permissions:

Device access:

Network access (Socket API):

Serial API:

USB raw access:

Bluetooth API:

Geolocation:

Audio and video capture (WebRTC getUserMedia):

Monitor system info:

Integration with other stuff:

In-app payments:

Sending messages to other installed apps or extensions:

System tray rich notifications:

Dart:

NodeJS modules:

Channel API - AppEngine:

Push Messaging

Client side sample

Guestbook sample

Roundtrip sample

Other:

WebGL and Pointer Lock:

Uncategorized:

Libraries

Google APIs client library for packaged apps: