Android: Added Device/Platform discovery client/server examples.
authorTim Kourt <tim.a.kourt@intel.com>
Fri, 11 Sep 2015 22:47:12 +0000 (15:47 -0700)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Sat, 19 Sep 2015 16:38:02 +0000 (16:38 +0000)
commitaec733797e8ddbfcce0e9b34be7ef2f4f569a950
tree082535c6171d05cf8346a3f2d5cc360c502a5a47
parent381e8c46a0611e41c55e87ba95e9199d9a75bf27
Android: Added Device/Platform discovery client/server examples.

In addition it also modifies the respective functions in the base
Note: this commit depends on gerrit.iotivity.org/gerrit/#/c/2433/

Set 3: Changed the tests to be in accordance with the modified API

Change-Id: I1a91166a54ef7f277d95c4d62961888c782383c5
Signed-off-by: Tim Kourt <tim.a.kourt@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2489
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
50 files changed:
android/android_api/base/src/androidTest/java/org/iotivity/base/SmokeTest.java
android/android_api/base/src/main/java/org/iotivity/base/ErrorCode.java
android/android_api/base/src/main/java/org/iotivity/base/OcDeviceInfo.java
android/android_api/base/src/main/java/org/iotivity/base/OcPlatform.java
android/android_api/base/src/main/java/org/iotivity/base/OcPlatformInfo.java
android/android_api/base/src/main/java/org/iotivity/base/OcPlatformStatus.java
android/android_api/base/src/main/java/org/iotivity/base/OcStackConfig.java [deleted file]
android/examples/devicediscoveryclient/.gitignore [new file with mode: 0644]
android/examples/devicediscoveryclient/build.gradle [new file with mode: 0644]
android/examples/devicediscoveryclient/devicediscoveryclient.iml [new file with mode: 0644]
android/examples/devicediscoveryclient/proguard-rules.pro [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/AndroidManifest.xml [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/java/org/iotivity/base/examples/DeviceDiscoveryClient.java [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/drawable/iotivityicon.png [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/drawable/iotivitylogo.png [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/layout/activity_device_discovery_client.xml [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/mipmap-hdpi/iotivityicon.png [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/mipmap-mdpi/iotivityicon.png [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/mipmap-xhdpi/iotivityicon.png [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/mipmap-xxhdpi/iotivityicon.png [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/values-v21/styles.xml [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/values-w820dp/dimens.xml [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/values/dimens.xml [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/values/strings.xml [new file with mode: 0644]
android/examples/devicediscoveryclient/src/main/res/values/styles.xml [new file with mode: 0644]
android/examples/devicediscoveryserver/.gitignore [new file with mode: 0644]
android/examples/devicediscoveryserver/build.gradle [new file with mode: 0644]
android/examples/devicediscoveryserver/devicediscoveryserver.iml [new file with mode: 0644]
android/examples/devicediscoveryserver/proguard-rules.pro [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/AndroidManifest.xml [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/java/org/iotivity/base/examples/DeviceDiscoveryServer.java [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/drawable/iotivityicon.png [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/drawable/iotivitylogo.png [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/layout/activity_device_discovery_server.xml [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/mipmap-hdpi/iotivityicon.png [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/mipmap-mdpi/iotivityicon.png [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/mipmap-xhdpi/iotivityicon.png [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/mipmap-xxhdpi/iotivityicon.png [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/values-v21/styles.xml [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/values-w820dp/dimens.xml [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/values/dimens.xml [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/values/strings.xml [new file with mode: 0644]
android/examples/devicediscoveryserver/src/main/res/values/styles.xml [new file with mode: 0644]
android/examples/presenceclient/build.gradle
android/examples/presenceclient/src/main/AndroidManifest.xml
android/examples/presenceclient/src/main/java/org/iotivity/base/examples/PresenceClient.java
android/examples/presenceclient/src/main/res/layout/activity_presence_client.xml
android/examples/presenceclient/src/main/res/values-v21/styles.xml
android/examples/presenceserver/src/main/java/org/iotivity/base/examples/PresenceServer.java
android/examples/settings.gradle