SimpleClient Android Application change for BLE 82/214382/1
authorsamanway <samanway@samanway.sa.corp.samsungelectronics.net>
Tue, 3 Sep 2019 08:01:03 +0000 (13:31 +0530)
committerSudipto <sudipto.bal@samsung.com>
Fri, 20 Sep 2019 17:16:34 +0000 (22:46 +0530)
commitf7c3e18a7331bb933e2fd842fc479a8b5063ee0c
tree9c2cb04da1623ff87d16fa06b712e5da639e8ecb
parent79c9d49b0cf292cbdd98fe36f9002c574be1d67e
SimpleClient Android Application change for BLE

This patch is to provide BLE scanning functionality in Android BLE client side.

- First application will start BLE scan for nearby devices.
- Then app will provide list of BLE devices which are advertising.
- Then user will select a device and app will internally connect to it.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/563/commits/6d7c44e1c073d74ff117a456007156214b310f1c
(cherry-picked from 6d7c44e1c073d74ff117a456007156214b310f1c)

Change-Id: I6efd7762ddb33c1e3dee2f2c225c8231d4381b93
Signed-off-by: samanway-dey <samanway.dey@samsung.com>
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
20 files changed:
android/examples/simpleclientblescan/build.gradle [new file with mode: 0644]
android/examples/simpleclientblescan/proguard-rules.pro [new file with mode: 0644]
android/examples/simpleclientblescan/simpleclientblescan.iml [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/AndroidManifest.xml [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/assets/oic_svr_db_client.json [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/java/org/iotivity/base/examples/Light.java [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/java/org/iotivity/base/examples/SimpleClientBleScan.java [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/drawable/iotivityicon.png [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/drawable/iotivitylogo.png [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/layout/activity_simple_client.xml [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/layout/device_name.xml [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/mipmap-hdpi/iotivityicon.png [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/mipmap-mdpi/iotivityicon.png [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/mipmap-xhdpi/iotivityicon.png [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/mipmap-xxhdpi/iotivityicon.png [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/values-v21/styles.xml [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/values-w820dp/dimens.xml [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/values/dimens.xml [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/values/strings.xml [new file with mode: 0644]
android/examples/simpleclientblescan/src/main/res/values/styles.xml [new file with mode: 0644]