From: Jay Sharma Date: Tue, 25 Aug 2015 15:59:42 +0000 (+0530) Subject: [Resource-Encapsulation] Android Sample Application for client side APIs. X-Git-Tag: 1.2.0+RC1~1151 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dff7ef7d12d5cbc4138af4e504b44ed860b99f7f;p=platform%2Fupstream%2Fiotivity.git [Resource-Encapsulation] Android Sample Application for client side APIs. Change-Id: I1605fe00027c8bd6d2182a70e3dbb35f2d6c2b2d Signed-off-by: Jay Sharma Reviewed-on: https://gerrit.iotivity.org/gerrit/2267 Tested-by: jenkins-iotivity Reviewed-by: Hun-je Yeon Reviewed-by: Madan Lanka --- diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/.classpath b/service/resource-encapsulation/examples/android/SampleResourceClientApp/.classpath new file mode 100644 index 0000000..3e9f007 --- /dev/null +++ b/service/resource-encapsulation/examples/android/SampleResourceClientApp/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/.project b/service/resource-encapsulation/examples/android/SampleResourceClientApp/.project new file mode 100644 index 0000000..4aabe36 --- /dev/null +++ b/service/resource-encapsulation/examples/android/SampleResourceClientApp/.project @@ -0,0 +1,33 @@ + + + SampleResourceClientApp + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + + diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/AndroidManifest.xml b/service/resource-encapsulation/examples/android/SampleResourceClientApp/AndroidManifest.xml new file mode 100644 index 0000000..63c3ff9 --- /dev/null +++ b/service/resource-encapsulation/examples/android/SampleResourceClientApp/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/ic_launcher-web.png b/service/resource-encapsulation/examples/android/SampleResourceClientApp/ic_launcher-web.png new file mode 100644 index 0000000..a18cbb4 Binary files /dev/null and b/service/resource-encapsulation/examples/android/SampleResourceClientApp/ic_launcher-web.png differ diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/project.properties b/service/resource-encapsulation/examples/android/SampleResourceClientApp/project.properties new file mode 100644 index 0000000..6ab28b0 --- /dev/null +++ b/service/resource-encapsulation/examples/android/SampleResourceClientApp/project.properties @@ -0,0 +1,15 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system edit +# "ant.properties", and override values to adapt the script to your +# project structure. +# +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt + +# Project target. +target=android-21 +android.library.reference.1=../../../sdk/java diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-hdpi/ic_launcher.png b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000..288b665 Binary files /dev/null and b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-hdpi/ic_launcher.png differ diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-hdpi/iot.jpg b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-hdpi/iot.jpg new file mode 100644 index 0000000..17c5a93 Binary files /dev/null and b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-hdpi/iot.jpg differ diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-mdpi/ic_launcher.png b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000..6ae570b Binary files /dev/null and b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-mdpi/ic_launcher.png differ diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-xhdpi/ic_launcher.png b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 0000000..d4fb7cd Binary files /dev/null and b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-xhdpi/ic_launcher.png differ diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-xxhdpi/ic_launcher.png b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..85a6081 Binary files /dev/null and b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/activity_main.xml b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/activity_main.xml new file mode 100644 index 0000000..ec14de4 --- /dev/null +++ b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/activity_main.xml @@ -0,0 +1,13 @@ + + + + + + + diff --git a/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/resourceclientapis.xml b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/resourceclientapis.xml new file mode 100644 index 0000000..c5a0c15 --- /dev/null +++ b/service/resource-encapsulation/examples/android/SampleResourceClientApp/res/layout/resourceclientapis.xml @@ -0,0 +1,36 @@ + + + +