aboutsummaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorJose Alcerreca <jalc@google.com>2014-12-05 10:26:22 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-12-05 10:26:23 +0000
commit3fbcc469aa79d67d985d8bd841aca26beee033be (patch)
treec8b75e0891c5143d01b59e81b3a1565b3ceb867d /connectivity
parent19564c70db1fbd670b2561ac38eceedc0e7efb3c (diff)
parent098fee6712f303d0f0e51a676becdb45ad9a4881 (diff)
downloadandroid-3fbcc469aa79d67d985d8bd841aca26beee033be.tar.gz
Merge "Updates metadata for BluetoothLegatt sample." into lmp-docs
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/bluetooth/BluetoothLeGatt/screenshots/1-main.pngbin0 -> 68389 bytes
-rw-r--r--connectivity/bluetooth/BluetoothLeGatt/screenshots/2-detail.pngbin0 -> 80086 bytes
-rw-r--r--connectivity/bluetooth/BluetoothLeGatt/screenshots/icon-web.pngbin0 -> 70614 bytes
-rw-r--r--connectivity/bluetooth/BluetoothLeGatt/template-params.xml39
4 files changed, 39 insertions, 0 deletions
diff --git a/connectivity/bluetooth/BluetoothLeGatt/screenshots/1-main.png b/connectivity/bluetooth/BluetoothLeGatt/screenshots/1-main.png
new file mode 100644
index 00000000..19ceb47b
--- /dev/null
+++ b/connectivity/bluetooth/BluetoothLeGatt/screenshots/1-main.png
Binary files differ
diff --git a/connectivity/bluetooth/BluetoothLeGatt/screenshots/2-detail.png b/connectivity/bluetooth/BluetoothLeGatt/screenshots/2-detail.png
new file mode 100644
index 00000000..0bb0598b
--- /dev/null
+++ b/connectivity/bluetooth/BluetoothLeGatt/screenshots/2-detail.png
Binary files differ
diff --git a/connectivity/bluetooth/BluetoothLeGatt/screenshots/icon-web.png b/connectivity/bluetooth/BluetoothLeGatt/screenshots/icon-web.png
new file mode 100644
index 00000000..94206686
--- /dev/null
+++ b/connectivity/bluetooth/BluetoothLeGatt/screenshots/icon-web.png
Binary files differ
diff --git a/connectivity/bluetooth/BluetoothLeGatt/template-params.xml b/connectivity/bluetooth/BluetoothLeGatt/template-params.xml
index 323e1d72..b699f675 100644
--- a/connectivity/bluetooth/BluetoothLeGatt/template-params.xml
+++ b/connectivity/bluetooth/BluetoothLeGatt/template-params.xml
@@ -33,4 +33,43 @@
<template src="base"/>
+ <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-main.png</img>
+ <img>screenshots/2-detail.png</img>
+ </screenshots>
+ <api_refs>
+ <android>android.app.Service</android>
+ <android>android.bluetooth.BluetoothGattService</android>
+ </api_refs>
+ <description>
+<![CDATA[
+This sample demonstrates how to use the Bluetooth LE Generic Attribute Profile (GATT)
+to transmit arbitrary data between devices.
+]]>
+ </description>
+
+ <intro>
+<![CDATA[
+This sample shows a list of available Bluetooth LE devices and provides
+an interface to connect, display data and display GATT services and
+characteristics supported by the devices.
+
+It creates a [Service][1] for managing connection and data communication with a GATT server
+hosted on a given Bluetooth LE device.
+
+The Activities communicate with the Service, which in turn interacts with the [Bluetooth LE API][2].
+
+[1]:http://developer.android.com/reference/android/app/Service.html
+[2]:https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html
+]]>
+ </intro>
+ </metadata>
</sample>