Notification Consumer Service Java API updation
authorAbitha Shankar <abitha.s@samsung.com>
Thu, 4 Aug 2016 14:02:54 +0000 (19:32 +0530)
committerMadan Lanka <lanka.madan@samsung.com>
Tue, 9 Aug 2016 06:40:28 +0000 (06:40 +0000)
commit5451f89122eb528aca658d068d7b3d1de9cc2afb
tree27b19e72aa9df7239d7ba43bc8c91e13af5246db
parent0c1157cd13a40a604cbd68c6d01f884bb06e9c1b
Notification Consumer Service Java API updation

1) Updated the JAVA api's for the NS Consumer using C++ wrapper
2) Modified the JNI api's for NS Consumer
3) Added the sample Android application for testing the Java API for Consumer.

patch 1 : initial commit
patch 2 : renamed file for conflict
patch 3 : rebase to latest and removed nativeHandle direct APIs
patch 4 : removed Empty constructors

Change-Id: Icb83a959fa239f6bfee5ed1680e2b7e082b6890a
Signed-off-by: Abitha Shankar <abitha.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10023
Reviewed-by: Chihyun Cho <ch79.cho@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
47 files changed:
service/notification/SConscript
service/notification/android/notification-service/src/main/AndroidManifest.xml
service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/common/MediaContents.java [moved from service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/consumer/NSSyncInfo.java with 57% similarity, mode: 0755]
service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/common/Message.java [new file with mode: 0755]
service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/common/NSErrorCode.java [moved from service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/consumer/NSErrorCode.java with 62% similarity, mode: 0755]
service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/common/NSException.java [moved from service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/consumer/NSException.java with 86% similarity, mode: 0755]
service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/common/SyncInfo.java [new file with mode: 0755]
service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/consumer/ConsumerService.java [changed mode: 0644->0755]
service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/consumer/NSMessage.java [deleted file]
service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/consumer/NSProvider.java [deleted file]
service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/consumer/Provider.java [new file with mode: 0755]
service/notification/android/notification-service/src/main/jni/Android.mk [changed mode: 0644->0755]
service/notification/android/notification-service/src/main/jni/common/JniNotificationCommon.cpp [moved from service/notification/android/notification-service/src/main/jni/common/jniNSCommon.c with 56% similarity, mode: 0755]
service/notification/android/notification-service/src/main/jni/common/JniNotificationCommon.h [moved from service/notification/android/notification-service/src/main/jni/common/jniNSCommon.h with 67% similarity, mode: 0755]
service/notification/android/notification-service/src/main/jni/consumer/JniNotificationConsumer.cpp [new file with mode: 0755]
service/notification/android/notification-service/src/main/jni/consumer/JniNotificationConsumer.h [new file with mode: 0755]
service/notification/android/notification-service/src/main/jni/consumer/notificationConsumer.c [deleted file]
service/notification/android/notification-service/src/main/jni/consumer/notificationConsumer.h [deleted file]
service/notification/cpp-wrapper/consumer/SConscript
service/notification/cpp-wrapper/examples/linux/SConscript
service/notification/cpp-wrapper/provider/SConscript
service/notification/examples/android/NotiConsumerExample/.gitignore [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/.gitignore [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/build.gradle [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/proguard-rules.pro [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/AndroidManifest.xml [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/java/com/sec/noticonsumerexample/ConsumerProxy.java [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/java/com/sec/noticonsumerexample/MainActivity.java [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/layout/activity_main.xml [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/mipmap-hdpi/ic_launcher.png [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/mipmap-mdpi/ic_launcher.png [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/mipmap-xhdpi/ic_launcher.png [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/values-w820dp/dimens.xml [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/values/colors.xml [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/values/dimens.xml [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/values/strings.xml [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/values/styles.xml [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/app/src/test/java/com/sec/noticonsumerexample/ExampleUnitTest.java [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/build.gradle [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/gradlew.bat [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/iotivity-armeabi-notification-service-debug/build.gradle [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/iotivity-armeabi-notification-service-debug/iotivity-armeabi-notification-service-debug.aar [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/iotivity-base-armeabi-debug/build.gradle [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/iotivity-base-armeabi-debug/iotivity-base-armeabi-debug.aar [new file with mode: 0755]
service/notification/examples/android/NotiConsumerExample/settings.gradle [new file with mode: 0755]