[Resource-Encapsulation] Updated Java SDK and RE Android Samples
authorJay Sharma <jay.sharma@samsung.com>
Mon, 14 Sep 2015 09:53:44 +0000 (15:23 +0530)
committerMadan Lanka <lanka.madan@samsung.com>
Mon, 14 Sep 2015 10:59:42 +0000 (10:59 +0000)
commit0edb419ea55ee927c7fc56e73e2ef3838a7ea132
tree5599f5af4d63e29daea34be9e5fe74c2b369c61d
parent0ce2c4c32e3d07ee5aaab7bc73fcaf82c7328604
[Resource-Encapsulation] Updated Java SDK and RE Android Samples

- Renamed Applications to REServer and REClient
- Fixed sample app issues.
- FIxed issues in JNI.
- Added separate Listener for set and get attributes.
- Updated Doxygen comments

Change-Id: I86f186b1153f02b15064177ac4b41ffcf6d6ddfe
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2485
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
75 files changed:
service/resource-encapsulation/examples/android/REClient/.classpath [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/.classpath with 77% similarity]
service/resource-encapsulation/examples/android/REClient/.project [moved from service/resource-encapsulation/examples/android/SampleServer/.project with 96% similarity]
service/resource-encapsulation/examples/android/REClient/AndroidManifest.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/AndroidManifest.xml with 100% similarity]
service/resource-encapsulation/examples/android/REClient/ic_launcher-web.png [moved from service/resource-encapsulation/examples/android/SampleServer/ic_launcher-web.png with 100% similarity]
service/resource-encapsulation/examples/android/REClient/project.properties [moved from service/resource-encapsulation/examples/android/SampleServer/project.properties with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/drawable-hdpi/ic_launcher.png [moved from service/resource-encapsulation/examples/android/SampleServer/res/drawable-hdpi/ic_launcher.png with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/drawable-hdpi/iot.jpg [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-hdpi/iot.jpg with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/drawable-mdpi/ic_launcher.png [moved from service/resource-encapsulation/examples/android/SampleServer/res/drawable-mdpi/ic_launcher.png with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/drawable-xhdpi/ic_launcher.png [moved from service/resource-encapsulation/examples/android/SampleServer/res/drawable-xhdpi/ic_launcher.png with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/drawable-xxhdpi/ic_launcher.png [moved from service/resource-encapsulation/examples/android/SampleServer/res/drawable-xxhdpi/ic_launcher.png with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/layout/activity_main.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/activity_main.xml with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/layout/resource_container.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/resource_container.xml with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/layout/resourceclientapis.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/resourceclientapis.xml with 89% similarity]
service/resource-encapsulation/examples/android/REClient/res/layout/userinputforattributevalue.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/userinputforattributevalue.xml with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/menu/main.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/menu/main.xml with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/values-v11/styles.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/values-v11/styles.xml with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/values-v14/styles.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/values-v14/styles.xml with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/values-w820dp/dimens.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/values-w820dp/dimens.xml with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/values/dimens.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/values/dimens.xml with 100% similarity]
service/resource-encapsulation/examples/android/REClient/res/values/strings.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values/strings.xml with 76% similarity]
service/resource-encapsulation/examples/android/REClient/res/values/styles.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/values/styles.xml with 100% similarity]
service/resource-encapsulation/examples/android/REClient/src/com/re/sampleclient/ContainerClientActivity.java [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/src/com/re/sampleclient/ContainerClientActivity.java with 92% similarity]
service/resource-encapsulation/examples/android/REClient/src/com/re/sampleclient/MainActivity.java [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/src/com/re/sampleclient/MainActivity.java with 99% similarity]
service/resource-encapsulation/examples/android/REClient/src/com/re/sampleclient/ResourceClient.java [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/src/com/re/sampleclient/ResourceClient.java with 85% similarity]
service/resource-encapsulation/examples/android/REClient/src/com/re/sampleclient/ResourceClientActivity.java [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/src/com/re/sampleclient/ResourceClientActivity.java with 97% similarity]
service/resource-encapsulation/examples/android/REServer/.classpath [moved from service/resource-encapsulation/examples/android/SampleServer/.classpath with 74% similarity]
service/resource-encapsulation/examples/android/REServer/.project [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/.project with 95% similarity]
service/resource-encapsulation/examples/android/REServer/AndroidManifest.xml [moved from service/resource-encapsulation/examples/android/SampleServer/AndroidManifest.xml with 96% similarity]
service/resource-encapsulation/examples/android/REServer/assets/lib/ResourceContainerConfig.xml [moved from service/resource-encapsulation/examples/android/SampleServer/assets/lib/ResourceContainerConfig.xml with 87% similarity]
service/resource-encapsulation/examples/android/REServer/ic_launcher-web.png [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/ic_launcher-web.png with 100% similarity]
service/resource-encapsulation/examples/android/REServer/project.properties [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/project.properties with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/drawable-hdpi/ic_launcher.png [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-hdpi/ic_launcher.png with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/drawable-hdpi/iot.jpg [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/drawable-mdpi/ic_launcher.png [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-mdpi/ic_launcher.png with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/drawable-xhdpi/ic_launcher.png [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-xhdpi/ic_launcher.png with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/drawable-xxhdpi/ic_launcher.png [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-xxhdpi/ic_launcher.png with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/layout/activity_main.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/layout/activity_main.xml with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/layout/resource_container.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/layout/resource_container.xml with 92% similarity]
service/resource-encapsulation/examples/android/REServer/res/layout/server_builder.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/layout/server_builder.xml with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/layout/server_builder_auto.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/layout/server_builder_auto.xml with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/layout/server_builder_dev.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/layout/server_builder_dev.xml with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/layout/userinputfortemperaturevalue.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/layout/userinputfortemperaturevalue.xml with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/menu/main.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/menu/main.xml with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/values-v11/styles.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values-v11/styles.xml with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/values-v14/styles.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values-v14/styles.xml with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/values-w820dp/dimens.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values-w820dp/dimens.xml with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/values/dimens.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values/dimens.xml with 100% similarity]
service/resource-encapsulation/examples/android/REServer/res/values/strings.xml [moved from service/resource-encapsulation/examples/android/SampleServer/res/values/strings.xml with 74% similarity]
service/resource-encapsulation/examples/android/REServer/res/values/styles.xml [moved from service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values/styles.xml with 100% similarity]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/MainActivity.java [moved from service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/MainActivity.java with 98% similarity]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ResourceContainer.java [moved from service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ResourceContainer.java with 97% similarity]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ResourceContainerActivity.java [moved from service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ResourceContainerActivity.java with 97% similarity]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ServerBuilder.java [moved from service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ServerBuilder.java with 98% similarity]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ServerBuilderActivity.java [moved from service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ServerBuilderActivity.java with 100% similarity]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ServerBuilderAutoActivity.java [moved from service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ServerBuilderAutoActivity.java with 100% similarity]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ServerBuilderDevActivity.java [moved from service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ServerBuilderDevActivity.java with 100% similarity]
service/resource-encapsulation/sdk/java/jni/Android.mk
service/resource-encapsulation/sdk/java/jni/jniutil/src/jni_re_utils.cpp
service/resource-encapsulation/sdk/java/jni/re/src/jni_re_rcs_discovery_manager.cpp
service/resource-encapsulation/sdk/java/jni/re/src/jni_re_rcs_remoteresourceobject.cpp
service/resource-encapsulation/sdk/java/jni/re/src/jni_re_setattributes_listener.cpp
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/client/RCSAddress.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/client/RCSDiscoveryManager.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/client/RCSRemoteResourceObject.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/common/RCSException.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/common/RCSResourceAttributes.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/server/Builder.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/server/RCSBundleInfo.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/server/RCSGetResponse.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/server/RCSRequest.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/server/RCSResourceContainer.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/server/RCSResourceObject.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/server/RCSSetResponse.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/utils/DiscoveryType.java
service/resource-encapsulation/sdk/java/src/org/iotivity/ResourceEncapsulation/utils/EntityHandlerResult.java