[Resource-Encapsulation] Updated Java SDK and RE Android Samples
authorJay Sharma <jay.sharma@samsung.com>
Mon, 14 Sep 2015 06:10:20 +0000 (11:40 +0530)
committerMadan Lanka <lanka.madan@samsung.com>
Mon, 14 Sep 2015 08:18:20 +0000 (08:18 +0000)
commitefe1f682522b5a8b9e05afe7478eb6bea9cd6e9a
tree68e4bd7781264b36e48b7133f549aac195f5a360
parent289ff6d919059fb5655ba19122eb05cb7b5000a8
[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/2484
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
130 files changed:
service/resource-encapsulation/examples/android/REClient/.classpath [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/.project [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/AndroidManifest.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/ic_launcher-web.png [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/project.properties [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/drawable-hdpi/ic_launcher.png [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/drawable-hdpi/iot.jpg [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/drawable-mdpi/ic_launcher.png [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/drawable-xhdpi/ic_launcher.png [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/drawable-xxhdpi/ic_launcher.png [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/layout/activity_main.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/layout/resource_container.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/layout/resourceclientapis.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/layout/userinputforattributevalue.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/menu/main.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/values-v11/styles.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/values-v14/styles.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/values-w820dp/dimens.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/values/dimens.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/values/strings.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/res/values/styles.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/src/com/re/sampleclient/ContainerClientActivity.java [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/src/com/re/sampleclient/MainActivity.java [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/src/com/re/sampleclient/ResourceClient.java [new file with mode: 0644]
service/resource-encapsulation/examples/android/REClient/src/com/re/sampleclient/ResourceClientActivity.java [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/.classpath [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/.project [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/AndroidManifest.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/assets/lib/ResourceContainerConfig.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/ic_launcher-web.png [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/project.properties [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/drawable-hdpi/ic_launcher.png [new file with mode: 0644]
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 [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/drawable-xhdpi/ic_launcher.png [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/drawable-xxhdpi/ic_launcher.png [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/layout/activity_main.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/layout/resource_container.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/layout/server_builder.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/layout/server_builder_auto.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/layout/server_builder_dev.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/layout/userinputfortemperaturevalue.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/menu/main.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/values-v11/styles.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/values-v14/styles.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/values-w820dp/dimens.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/values/dimens.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/values/strings.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/res/values/styles.xml [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/MainActivity.java [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ResourceContainer.java [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ResourceContainerActivity.java [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ServerBuilder.java [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ServerBuilderActivity.java [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ServerBuilderAutoActivity.java [new file with mode: 0644]
service/resource-encapsulation/examples/android/REServer/src/com/example/sampleserver/ServerBuilderDevActivity.java [new file with mode: 0644]
service/resource-encapsulation/examples/android/SampleResourceClientApp/.classpath [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/.project [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/AndroidManifest.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/ic_launcher-web.png [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/project.properties [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-hdpi/ic_launcher.png [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-hdpi/iot.jpg [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-mdpi/ic_launcher.png [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-xhdpi/ic_launcher.png [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-xxhdpi/ic_launcher.png [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/activity_main.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/resource_container.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/resourceclientapis.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/userinputforattributevalue.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/menu/main.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values-v11/styles.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values-v14/styles.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values-w820dp/dimens.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values/dimens.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values/strings.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/res/values/styles.xml [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/src/com/re/sampleclient/ContainerClientActivity.java [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/src/com/re/sampleclient/MainActivity.java [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/src/com/re/sampleclient/ResourceClient.java [deleted file]
service/resource-encapsulation/examples/android/SampleResourceClientApp/src/com/re/sampleclient/ResourceClientActivity.java [deleted file]
service/resource-encapsulation/examples/android/SampleServer/.classpath [deleted file]
service/resource-encapsulation/examples/android/SampleServer/.project [deleted file]
service/resource-encapsulation/examples/android/SampleServer/AndroidManifest.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/assets/lib/ResourceContainerConfig.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/ic_launcher-web.png [deleted file]
service/resource-encapsulation/examples/android/SampleServer/project.properties [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/drawable-hdpi/ic_launcher.png [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/drawable-mdpi/ic_launcher.png [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/drawable-xhdpi/ic_launcher.png [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/drawable-xxhdpi/ic_launcher.png [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/layout/activity_main.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/layout/resource_container.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/layout/server_builder.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/layout/server_builder_auto.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/layout/server_builder_dev.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/layout/userinputfortemperaturevalue.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/menu/main.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/values-v11/styles.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/values-v14/styles.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/values-w820dp/dimens.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/values/dimens.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/values/strings.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/res/values/styles.xml [deleted file]
service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/MainActivity.java [deleted file]
service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ResourceContainer.java [deleted file]
service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ResourceContainerActivity.java [deleted file]
service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ServerBuilder.java [deleted file]
service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ServerBuilderActivity.java [deleted file]
service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ServerBuilderAutoActivity.java [deleted file]
service/resource-encapsulation/examples/android/SampleServer/src/com/example/sampleserver/ServerBuilderDevActivity.java [deleted file]
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