[IOT-1703] Add UI support in notification android samples to take cloud login details
authornikhil.a <nikhil.a7@samsung.com>
Tue, 3 Jan 2017 10:37:51 +0000 (16:07 +0530)
committerUze Choi <uzchoi@samsung.com>
Wed, 4 Jan 2017 04:24:26 +0000 (04:24 +0000)
commit1313b8e91e5e2a967a162327c4054756168de8c6
treef69779a290d3c45ea5e6f1dbf53861e11cca378d
parent6fe860ffd542a8967e20ef348c719a3a3bcd13b8
[IOT-1703] Add UI support in notification android samples to take cloud login details

- Added dialog box support to take cloud signUp , signIn and other details from UI.
- Proper allignment of braces and other minor formatting.

Patch-3 : Removed fixed strings
Patch-4 : Modified callback listener name

Change-Id: I75d292c4236dc1da7e7c822a5cd6340b8bb77b44
Signed-off-by: nikhil.a <nikhil.a7@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15877
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jaesick shin <jaesick.shin@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
21 files changed:
service/notification/android/notification-service/src/main/java/org/iotivity/service/ns/consumer/Provider.java
service/notification/android/notification-service/src/main/jni/consumer/JniNotificationConsumer.h
service/notification/examples/android/NotiConsumerExample/app/src/androidTest/java/org/iotivity/service/ns/sample/consumer/ExampleUnitTest.java
service/notification/examples/android/NotiConsumerExample/app/src/androidTest/java/org/iotivity/service/ns/sample/consumer/ProviderSimulator.java
service/notification/examples/android/NotiConsumerExample/app/src/main/java/org/iotivity/service/ns/sample/consumer/ConsumerSample.java
service/notification/examples/android/NotiConsumerExample/app/src/main/java/org/iotivity/service/ns/sample/consumer/LoginActivity.java
service/notification/examples/android/NotiConsumerExample/app/src/main/java/org/iotivity/service/ns/sample/consumer/MainActivity.java
service/notification/examples/android/NotiConsumerExample/app/src/main/res/layout/dialog_auth.xml [new file with mode: 0644]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/layout/dialog_entry.xml [new file with mode: 0644]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/layout/dialog_mq.xml [new file with mode: 0644]
service/notification/examples/android/NotiConsumerExample/app/src/main/res/values/strings.xml
service/notification/examples/android/NotiProviderExample/app/src/androidTest/java/org/iotivity/service/ns/sample/provider/ConsumerSimulator.java
service/notification/examples/android/NotiProviderExample/app/src/androidTest/java/org/iotivity/service/ns/sample/provider/ExampleUnitTest.java
service/notification/examples/android/NotiProviderExample/app/src/main/java/org/iotivity/service/ns/sample/provider/LoginActivity.java
service/notification/examples/android/NotiProviderExample/app/src/main/java/org/iotivity/service/ns/sample/provider/MainActivity.java
service/notification/examples/android/NotiProviderExample/app/src/main/java/org/iotivity/service/ns/sample/provider/NotiListener.java
service/notification/examples/android/NotiProviderExample/app/src/main/java/org/iotivity/service/ns/sample/provider/ProviderSample.java
service/notification/examples/android/NotiProviderExample/app/src/main/res/layout/dialog_auth.xml [new file with mode: 0644]
service/notification/examples/android/NotiProviderExample/app/src/main/res/layout/dialog_entry.xml [new file with mode: 0644]
service/notification/examples/android/NotiProviderExample/app/src/main/res/layout/dialog_mq.xml [new file with mode: 0644]
service/notification/examples/android/NotiProviderExample/app/src/main/res/values/strings.xml