diff options
author | Natalie Masse <nmasse@google.com> | 2014-12-11 14:01:25 +0000 |
---|---|---|
committer | Natalie Masse <nmasse@google.com> | 2014-12-12 10:34:30 +0000 |
commit | 09315ca1beedaf0945b41c202af79c1b475b82bc (patch) | |
tree | edb8869c66ced286179fcdacc312fd76cdb15fb9 /connectivity/bluetooth | |
parent | 40f9736fee53d12dfbe2bf89d98b3be8b0482324 (diff) | |
download | android-09315ca1beedaf0945b41c202af79c1b475b82bc.tar.gz |
metadata added for sample BluetoothChat
Change-Id: I20acb2f723ebee12cde4c8d60413fbae9ba8fc0e
Diffstat (limited to 'connectivity/bluetooth')
-rw-r--r-- | connectivity/bluetooth/BluetoothChat/screenshots/1-launch.png | bin | 0 -> 102399 bytes | |||
-rw-r--r-- | connectivity/bluetooth/BluetoothChat/screenshots/2-devices.png | bin | 0 -> 180960 bytes | |||
-rw-r--r-- | connectivity/bluetooth/BluetoothChat/screenshots/3-chat.png | bin | 0 -> 109847 bytes | |||
-rw-r--r-- | connectivity/bluetooth/BluetoothChat/screenshots/icon-web.png | bin | 0 -> 76079 bytes | |||
-rw-r--r-- | connectivity/bluetooth/BluetoothChat/template-params.xml | 55 |
5 files changed, 55 insertions, 0 deletions
diff --git a/connectivity/bluetooth/BluetoothChat/screenshots/1-launch.png b/connectivity/bluetooth/BluetoothChat/screenshots/1-launch.png Binary files differnew file mode 100644 index 00000000..6b6741ed --- /dev/null +++ b/connectivity/bluetooth/BluetoothChat/screenshots/1-launch.png diff --git a/connectivity/bluetooth/BluetoothChat/screenshots/2-devices.png b/connectivity/bluetooth/BluetoothChat/screenshots/2-devices.png Binary files differnew file mode 100644 index 00000000..db31dc02 --- /dev/null +++ b/connectivity/bluetooth/BluetoothChat/screenshots/2-devices.png diff --git a/connectivity/bluetooth/BluetoothChat/screenshots/3-chat.png b/connectivity/bluetooth/BluetoothChat/screenshots/3-chat.png Binary files differnew file mode 100644 index 00000000..65830e83 --- /dev/null +++ b/connectivity/bluetooth/BluetoothChat/screenshots/3-chat.png diff --git a/connectivity/bluetooth/BluetoothChat/screenshots/icon-web.png b/connectivity/bluetooth/BluetoothChat/screenshots/icon-web.png Binary files differnew file mode 100644 index 00000000..737f3476 --- /dev/null +++ b/connectivity/bluetooth/BluetoothChat/screenshots/icon-web.png diff --git a/connectivity/bluetooth/BluetoothChat/template-params.xml b/connectivity/bluetooth/BluetoothChat/template-params.xml index a4ca4978..2bf81c39 100644 --- a/connectivity/bluetooth/BluetoothChat/template-params.xml +++ b/connectivity/bluetooth/BluetoothChat/template-params.xml @@ -47,4 +47,59 @@ <!-- Include common code modules by uncommenting them below. --> <common src="logger" /> <common src="activities"/> + + <metadata> + <status>PUBLISHED</status> + <categories>Connectivity</categories> + <technologies>Android</technologies> + <languages>Java</languages> + <solutions>Mobile</solutions> + <level>ADVANCED</level> + <icon>screenshots/icon-web.png</icon> + <screenshots> + <img>screenshots/1-launch.png</img> + <img>screenshots/2-devices.png</img> + <img>screenshots/3-chat.png</img> + </screenshots> + <api_refs> + <android>android.bluetooth.BluetoothAdapter</android> + <android>android.bluetooth.BluetoothDevice</android> + <android>android.bluetooth.BluetoothServerSocket</android> + <android>android.bluetooth.BluetoothSocket</android> + </api_refs> + + <description> +<![CDATA[ +This sample shows how to implement two-way text chat over Bluetooth between two Android devices, using +all the fundamental Bluetooth API capabilities. +]]> + </description> + + <intro> +<![CDATA[ +This sample should be run on two Android devices at the same time, to establish a two-way chat over +Bluetooth between the devices. Select "Made discoverable" in overflow menu on one device and click +on the Bluetooth icon on the other one, to find the device and establish the connection. + +The sample demonstrates the following, using the [Bluetooth API][1]: + +1. [Setting up][2] Bluetooth +2. [Scanning][3] for other Bluetooth devices +3. [Querying][4] the local Bluetooth adapter for paired Bluetooth devices +4. [Establishing RFCOMM][5] channels/sockets +5. [Connecting][6] to a remote device +6. [Transfering][7] data over Bluetooth + +[1]: http://developer.android.com/guide/topics/connectivity/bluetooth.html +[2]: http://developer.android.com/guide/topics/connectivity/bluetooth.html#Permissions +[3]: http://developer.android.com/guide/topics/connectivity/bluetooth.html#FindingDevices +[4]: http://developer.android.com/guide/topics/connectivity/bluetooth.html#QueryingPairedDevices +[5]: http://developer.android.com/guide/topics/connectivity/bluetooth.html#ConnectingDevices +[6]: http://developer.android.com/guide/topics/connectivity/bluetooth.html#ConnectingAsAClient +[7]: http://developer.android.com/guide/topics/connectivity/bluetooth.html#ManagingAConnection +]]> + </intro> + </metadata> + + </sample> |