Skip to content

Commit

Permalink
update out of date links (GoogleChrome#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkettner authored Mar 20, 2023
1 parent e98b7cd commit 2b485f1
Show file tree
Hide file tree
Showing 124 changed files with 553 additions and 559 deletions.
209 changes: 104 additions & 105 deletions _archive/apps/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _archive/apps/libraries/gapi-chrome-apps-lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To be expanded upon, but essentially:

## Examples:

* [Tasks app using GAPI](https://github.com/GoogleChrome/chrome-app-samples/tree/master/tasks)
* [Tasks app using GAPI](https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/_archive/apps/samples/tasks)

## Resources

Expand Down
12 changes: 6 additions & 6 deletions _archive/apps/samples/analytics/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/anfhlhgdnbpnglngmblhkdifdbcepjce">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/anfhlhgdnbpnglngmblhkdifdbcepjce">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>


# Analytics

This example demonstrates how to include support for Google Analytics in your
packaged application. It uses the
packaged application. It uses the
[chrome-platform-analytics](https://github.com/GoogleChrome/chrome-platform-analytics) library,
which allows tracking app views or any arbitrary event to Google Analytics.
See more at the [project wiki](https://github.com/GoogleChrome/chrome-platform-analytics/wiki)
Expand All @@ -13,11 +13,11 @@ See more at the [project wiki](https://github.com/GoogleChrome/chrome-platform-a

## Resources

* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)
* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime)
* [Window](https://developer.chrome.com/docs/extensions/reference/app_window)
* [chrome-platform-analytics](https://github.com/GoogleChrome/chrome-platform-analytics/wiki)


## Screenshot
![screenshot](/apps/samples/analytics/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/analytics/assets/screenshot_1280_800.png)

6 changes: 3 additions & 3 deletions _archive/apps/samples/appengine-channelapi/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/alieplnmdkoekpkepkfgickpmhhabfkl">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/alieplnmdkoekpkepkfgickpmhhabfkl">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>



Expand All @@ -22,7 +22,7 @@ To run:
* [Appengine Channel API](https://developers.google.com/appengine/docs/python/channel)
* [Webview](https://developer.chrome.com/apps/tags/webview)


## Screenshot
![screenshot](/apps/samples/appengine_channelapi/app/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/appengine_channelapi/app/assets/screenshot_1280_800.png)

2 changes: 1 addition & 1 deletion _archive/apps/samples/appengine-channelapi/app/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/alieplnmdkoekpkepkfgickpmhhabfkl">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/alieplnmdkoekpkepkfgickpmhhabfkl">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
4 changes: 2 additions & 2 deletions _archive/apps/samples/appengine-channelapi/app/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
* @see https://developer.chrome.com/docs/extensions/reference/app_runtime
* @see https://developer.chrome.com/docs/extensions/reference/app_window
*/
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('index.html', {
Expand Down
14 changes: 7 additions & 7 deletions _archive/apps/samples/appsquare/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/loimmcmmgnhkbppokdpfhlccebcpicld">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/loimmcmmgnhkbppokdpfhlccebcpicld">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>


# AppSquare

This is a basic Foursquare client implemented as a packaged app.

It just displays recent checkins of the logged in user's friends. To log into Foursquare, it uses the [identity API](http://developer.chrome.com/apps/identity.html) (specfically, the `launchWebAuthFlow` method). Once it gets the OAuth token, it uses the [storage API](http://developer.chrome.com/apps/storage.html) to persist it. It also uses the [W3C Geolocation API](http://www.w3.org/TR/geolocation-API/) to pass in the current location to the Foursquare API.
It just displays recent checkins of the logged in user's friends. To log into Foursquare, it uses the [identity API](http://developer.chrome.com/apps/identity.html) (specfically, the `launchWebAuthFlow` method). Once it gets the OAuth token, it uses the [storage API](http://developer.chrome.com/apps/storage) to persist it. It also uses the [W3C Geolocation API](http://www.w3.org/TR/geolocation-API/) to pass in the current location to the Foursquare API.

When running it unpacked, it will normally have a different ID (the unpacked
extension ID is a hash of the path on disk). However, this will result in the
Expand All @@ -19,10 +19,10 @@ The key *must* be removed before uploading it to the store.

## Resources

* [Identity](http://developer.chrome.com/apps/app.identity.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)
* [Identity](https://developer.chrome.com/docs/apps/app_identity/)
* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime)
* [Window](https://developer.chrome.com/docs/extensions/reference/app_window)

## Screenshot
![screenshot](/apps/samples/appsquare/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/appsquare/assets/screenshot_1280_800.png)

2 changes: 1 addition & 1 deletion _archive/apps/samples/appview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Add `host-app` and `embedded-app` and embed the `embedded-app` inside
* [videoCapture](https://developer.chrome.com/apps/declare_permissions)

## Screenshot
![screenshot](/apps/samples/appview/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/appview/assets/screenshot_1280_800.png)
2 changes: 1 addition & 1 deletion _archive/apps/samples/appview/embedded-app/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/mighjnlldblaiimoaidiggecdkobklfe">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/mighjnlldblaiimoaidiggecdkobklfe">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
2 changes: 1 addition & 1 deletion _archive/apps/samples/appview/host-app/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/gkmjlnhjcdognmniiadfdhdlgdocngda">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/gkmjlnhjcdognmniiadfdhdlgdocngda">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
4 changes: 2 additions & 2 deletions _archive/apps/samples/appview/host-app/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
* @see https://developer.chrome.com/docs/extensions/reference/app_runtime
* @see https://developer.chrome.com/docs/extensions/reference/app_window
*/
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('index.html', {
Expand Down
6 changes: 3 additions & 3 deletions _archive/apps/samples/blink1/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/kcpjgiicabigbjejdjnkflkdkjknkdch">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/kcpjgiicabigbjejdjnkflkdkjknkdch">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>


# Blink(1)
Expand All @@ -13,10 +13,10 @@ This sample demos the `chrome.hid` API by controlling a [ThingM blink(1) mk2](ht

## Running this app on Linux

On Linux a udev rule must be added to allow Chrome to open the blink(1) device. Copy the file [`udev/61-blink1.rules`](https://raw.githubusercontent.com/GoogleChrome/chrome-app-samples/master/blink1/udev/61-blink1.rules) to `/etc/udev/rules.d`. It contains the following rule which allows anyone in the `plugdev` group read/write access the `hidraw` node for this device. See [USB Caveats](https://developer.chrome.com/apps/app_usb#caveats) for more details.
On Linux a udev rule must be added to allow Chrome to open the blink(1) device. Copy the file [`udev/61-blink1.rules`](https://raw.githubusercontent.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/samples/blink1/udev/61-blink1.rules) to `/etc/udev/rules.d`. It contains the following rule which allows anyone in the `plugdev` group read/write access the `hidraw` node for this device. See [USB Caveats](https://developer.chrome.com/apps/app_usb#caveats) for more details.

# Make the blink(1) accessible to plugdev via hidraw.
SUBSYSTEM=="hidraw", SUBSYSTEMS=="usb", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", MODE="0660", GROUP="plugdev"

## Screenshot
![screenshot](/apps/samples/blink1/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/blink1/assets/screenshot_1280_800.png)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/kllncpgahapecnfkhefffabcemaknamh">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/kllncpgahapecnfkhefffabcemaknamh">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>


Bluetooth Low-Energy Battery Service Demo
Expand All @@ -10,4 +10,4 @@ with the Generic Attribute Profile (GATT) based Battery Service.


## Screenshot
![screenshot](/apps/samples/bluetooth-samples/battery-service-demo/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/bluetooth-samples/battery-service-demo/assets/screenshot_1280_800.png)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/dblimghcclaakknbpajckcamddhjaaai">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/dblimghcclaakknbpajckcamddhjaaai">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>


Bluetooth Low-Energy Device Information Service Demo
Expand All @@ -10,4 +10,4 @@ chrome.bluetoothLowEnergy API.


## Screenshot
![screenshot](/apps/samples/bluetooth-samples/device-info-demo/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/bluetooth-samples/device-info-demo/assets/screenshot_1280_800.png)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/nmlcgjldnboapnjdmllfcdenlljfjanm">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/nmlcgjldnboapnjdmllfcdenlljfjanm">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>


Low-Energy Heart Rate Sensor
Expand All @@ -10,4 +10,4 @@ Bluetooth Low Energy heart rate sensor.


## Screenshot
![screenshot](/apps/samples/bluetooth-samples/heart-rate-sensor/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/bluetooth-samples/heart-rate-sensor/assets/screenshot_1280_800.png)
10 changes: 5 additions & 5 deletions _archive/apps/samples/calculator/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/pelimflkpjiicnajdjcmekpioacmahkh">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/pelimflkpjiicnajdjcmekpioacmahkh">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>


# Calculator
Expand All @@ -11,10 +11,10 @@ DOM manipulation.

## APIs

* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)
* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime)
* [Window](https://developer.chrome.com/docs/extensions/reference/app_window)


## Screenshot
![screenshot](/apps/samples/calculator/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/calculator/assets/screenshot_1280_800.png)

2 changes: 1 addition & 1 deletion _archive/apps/samples/calculator/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/apps/app.window.html
* @see https://developer.chrome.com/docs/extensions/reference/app_window
*/
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('calculator.html', {
Expand Down
10 changes: 5 additions & 5 deletions _archive/apps/samples/camera-capture/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/ilefapmpngkdnnllcnlcjffipbolhklf">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/ilefapmpngkdnnllcnlcjffipbolhklf">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>


# Camera Capture
Expand All @@ -8,11 +8,11 @@ the `videoCapture` permissions to be set in the manifest file.

## APIs

* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)
* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime)
* [Window](https://developer.chrome.com/docs/extensions/reference/app_window)
* [videoCapture](https://developer.chrome.com/apps/declare_permissions)


## Screenshot
![screenshot](/apps/samples/camera-capture/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/camera-capture/assets/screenshot_1280_800.png)

2 changes: 1 addition & 1 deletion _archive/apps/samples/camera-capture/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Author: Eric Bidelman ([email protected])
* video from the selected device. Requires the permissions
* for videoCapture to be set in the manifest.
*
* @see http://developer.chrome.com/apps/manifest.html#permissions
* @see http://developer.chrome.com/apps/manifest#permissions
*/

var curStream = null; // keep track of current stream
Expand Down
4 changes: 2 additions & 2 deletions _archive/apps/samples/camera-capture/background.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
* @see https://developer.chrome.com/docs/extensions/reference/app_runtime
* @see https://developer.chrome.com/docs/extensions/reference/app_window
*/
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('index.html', {
Expand Down
14 changes: 7 additions & 7 deletions _archive/apps/samples/clock/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/lhfiglpmnendbchimlikaeachppfonmm">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/lhfiglpmnendbchimlikaeachppfonmm">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>


# Clock

A widget-like application that provides a world clock, an alarm, a timer and a stopwatch.
A widget-like application that provides a world clock, an alarm, a timer and a stopwatch.

## APIs

* [Sync Storage API](http://developer.chrome.com/apps/storage.html)
* [Runtime](http://developer.chrome.com/apps/app.runtime.html)
* [Window](http://developer.chrome.com/apps/app.window.html)
* [Sync Storage API](http://developer.chrome.com/apps/storage)
* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime)
* [Window](https://developer.chrome.com/docs/extensions/reference/app_window)


## Screenshot
![screenshot](/apps/samples/clock/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/clock/assets/screenshot_1280_800.png)

2 changes: 1 addition & 1 deletion _archive/apps/samples/clock/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/apps/app.window.html
* @see https://developer.chrome.com/docs/extensions/reference/app_window
*/
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('index.html', {
Expand Down
6 changes: 3 additions & 3 deletions _archive/apps/samples/context-menu/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a target="_blank" href="https://chrome.google.com/webstore/detail/biknlgbccocnocjfclpedecpgopjokik">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>
<a target="_blank" href="https://chrome.google.com/webstore/detail/biknlgbccocnocjfclpedecpgopjokik">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store")</a>


# Context menus
Expand All @@ -10,7 +10,7 @@ Sample that shows how to use the [context menu API](http://developer.chrome.com/
* [Context menu API](http://developer.chrome.com/apps/contextMenus)
* [Runtime](http://developer.chrome.com/apps/app_runtime)
* [Window](http://developer.chrome.com/apps/app_window)

## Screenshot
![screenshot](/apps/samples/context-menu/assets/screenshot_1280_800.png)
![screenshot](/_archive/apps/samples/context-menu/assets/screenshot_1280_800.png)

Loading

0 comments on commit 2b485f1

Please sign in to comment.