summaryrefslogtreecommitdiffstats
path: root/resources/android
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-27 06:27:19 +0200
committerSven Gothel <[email protected]>2012-03-27 06:27:19 +0200
commita704c54d4e1eaf18c3fb8abd380304c69c310c32 (patch)
tree03a475b9e55463639fe1c5253a680e1db69fa238 /resources/android
parentfd24d9ea8521fe4893940be9e3803cd542e0cd97 (diff)
Generate and add *.apk files to the 7z archive [for deployment]
Diffstat (limited to 'resources/android')
-rw-r--r--resources/android/AndroidManifest-jocl.xml17
-rw-r--r--resources/android/res-jocl/drawable-hdpi/icon.pngbin0 -> 2516 bytes
-rw-r--r--resources/android/res-jocl/drawable-ldpi/icon.pngbin0 -> 1172 bytes
-rw-r--r--resources/android/res-jocl/drawable-mdpi/icon.pngbin0 -> 1570 bytes
-rw-r--r--resources/android/res-jocl/layout/main.xml12
-rw-r--r--resources/android/res-jocl/values/strings.xml8
6 files changed, 37 insertions, 0 deletions
diff --git a/resources/android/AndroidManifest-jocl.xml b/resources/android/AndroidManifest-jocl.xml
new file mode 100644
index 00000000..e02ee3da
--- /dev/null
+++ b/resources/android/AndroidManifest-jocl.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ sharedUserId="com.jogamp.Community"
+ package="com.jogamp.opencl">
+
+ <uses-sdk android:minSdkVersion="9" />
+ <uses-library android:name="com.jogamp.common" android:required="true" />
+ <uses-library android:name="javax.media.opengl" android:required="true" />
+
+ <application android:icon="@drawable/icon"
+ android:label="@string/app_name"
+ android:description="@string/app_descr"
+ android:persistent="false"
+ >
+ </application>
+
+</manifest>
diff --git a/resources/android/res-jocl/drawable-hdpi/icon.png b/resources/android/res-jocl/drawable-hdpi/icon.png
new file mode 100644
index 00000000..2148232c
--- /dev/null
+++ b/resources/android/res-jocl/drawable-hdpi/icon.png
Binary files differ
diff --git a/resources/android/res-jocl/drawable-ldpi/icon.png b/resources/android/res-jocl/drawable-ldpi/icon.png
new file mode 100644
index 00000000..c16211f3
--- /dev/null
+++ b/resources/android/res-jocl/drawable-ldpi/icon.png
Binary files differ
diff --git a/resources/android/res-jocl/drawable-mdpi/icon.png b/resources/android/res-jocl/drawable-mdpi/icon.png
new file mode 100644
index 00000000..1c26e3f8
--- /dev/null
+++ b/resources/android/res-jocl/drawable-mdpi/icon.png
Binary files differ
diff --git a/resources/android/res-jocl/layout/main.xml b/resources/android/res-jocl/layout/main.xml
new file mode 100644
index 00000000..3a5f117d
--- /dev/null
+++ b/resources/android/res-jocl/layout/main.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ >
+<TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/hello"
+ />
+</LinearLayout>
diff --git a/resources/android/res-jocl/values/strings.xml b/resources/android/res-jocl/values/strings.xml
new file mode 100644
index 00000000..24038557
--- /dev/null
+++ b/resources/android/res-jocl/values/strings.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="hello">Jocl Library</string>
+ <string name="app_name">JogAmp\'s Jocl Library</string>
+ <string name="app_descr">Contains Dalvik and native code, supporting native bindings.</string>
+ <string name="activity_v_name">Jocl</string>
+ <string name="activity_v_descr">The Jocl Library.</string>
+</resources>