diff options
Diffstat (limited to 'make/resources/android')
-rw-r--r-- | make/resources/android/AndroidManifest-jocl.xml | 11 | ||||
-rw-r--r-- | make/resources/android/AndroidManifest-test.xml | 20 | ||||
-rw-r--r-- | make/resources/android/res-jocl/values/strings.xml | 4 | ||||
-rw-r--r-- | make/resources/android/res-test/drawable-hdpi/icon.png | bin | 0 -> 2516 bytes | |||
-rw-r--r-- | make/resources/android/res-test/drawable-ldpi/icon.png | bin | 0 -> 1172 bytes | |||
-rw-r--r-- | make/resources/android/res-test/drawable-mdpi/icon.png | bin | 0 -> 1570 bytes | |||
-rw-r--r-- | make/resources/android/res-test/layout/main.xml | 12 | ||||
-rw-r--r-- | make/resources/android/res-test/values/strings.xml | 8 |
8 files changed, 53 insertions, 2 deletions
diff --git a/make/resources/android/AndroidManifest-jocl.xml b/make/resources/android/AndroidManifest-jocl.xml index 07fff315..2f39c9ab 100644 --- a/make/resources/android/AndroidManifest-jocl.xml +++ b/make/resources/android/AndroidManifest-jocl.xml @@ -13,6 +13,17 @@ android:description="@string/app_descr" android:persistent="false" > + <activity android:name="jogamp.opencl.os.android.JoclVersionActivityLauncher" + android:finishOnTaskLaunch="true" + android:launchMode="singleTop" + android:label="@string/activity_v_name" + android:description="@string/activity_v_descr" + > + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.LAUNCHER" /> + </intent-filter> + </activity> </application> </manifest> diff --git a/make/resources/android/AndroidManifest-test.xml b/make/resources/android/AndroidManifest-test.xml new file mode 100644 index 00000000..bad971e5 --- /dev/null +++ b/make/resources/android/AndroidManifest-test.xml @@ -0,0 +1,20 @@ +<?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.test"> + + <uses-library android:name="com.jogamp.common" android:required="true" /> + <uses-library android:name="javax.media.opengl" android:required="true" /> + <uses-library android:name="com.jogamp.opencl" android:required="true" /> + <uses-library android:name="jogamp.android.launcher" android:required="true" /> + + <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14"/> + + <application android:icon="@drawable/icon" + android:label="@string/app_name" + android:description="@string/app_descr" + android:persistent="false" + > + </application> + +</manifest> diff --git a/make/resources/android/res-jocl/values/strings.xml b/make/resources/android/res-jocl/values/strings.xml index 24038557..9834b351 100644 --- a/make/resources/android/res-jocl/values/strings.xml +++ b/make/resources/android/res-jocl/values/strings.xml @@ -3,6 +3,6 @@ <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> + <string name="activity_v_name">Jocl\'s Version</string> + <string name="activity_v_descr">Shows the version of the JOCL Library and runtime CL infos.</string> </resources> diff --git a/make/resources/android/res-test/drawable-hdpi/icon.png b/make/resources/android/res-test/drawable-hdpi/icon.png Binary files differnew file mode 100644 index 00000000..2148232c --- /dev/null +++ b/make/resources/android/res-test/drawable-hdpi/icon.png diff --git a/make/resources/android/res-test/drawable-ldpi/icon.png b/make/resources/android/res-test/drawable-ldpi/icon.png Binary files differnew file mode 100644 index 00000000..c16211f3 --- /dev/null +++ b/make/resources/android/res-test/drawable-ldpi/icon.png diff --git a/make/resources/android/res-test/drawable-mdpi/icon.png b/make/resources/android/res-test/drawable-mdpi/icon.png Binary files differnew file mode 100644 index 00000000..1c26e3f8 --- /dev/null +++ b/make/resources/android/res-test/drawable-mdpi/icon.png diff --git a/make/resources/android/res-test/layout/main.xml b/make/resources/android/res-test/layout/main.xml new file mode 100644 index 00000000..3a5f117d --- /dev/null +++ b/make/resources/android/res-test/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/make/resources/android/res-test/values/strings.xml b/make/resources/android/res-test/values/strings.xml new file mode 100644 index 00000000..bc47312c --- /dev/null +++ b/make/resources/android/res-test/values/strings.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="hello">Jocl Test</string> + <string name="app_name">Jocl Tests</string> + <string name="app_descr">Launches Jocl Tests</string> + <string name="activity_opencltest1_name">JOCLTST1</string> + <string name="activity_opencltest1_descr">JOCLTST1</string> +</resources> |