diff options
Diffstat (limited to 'make/resources/android')
-rw-r--r-- | make/resources/android/AndroidManifest-jogl.xml | 27 | ||||
-rw-r--r-- | make/resources/android/AndroidManifest-launcher.xml | 39 | ||||
-rw-r--r-- | make/resources/android/res-jogl/drawable-hdpi/icon.png | bin | 0 -> 2516 bytes | |||
-rw-r--r-- | make/resources/android/res-jogl/drawable-ldpi/icon.png | bin | 0 -> 1172 bytes | |||
-rw-r--r-- | make/resources/android/res-jogl/drawable-mdpi/icon.png | bin | 0 -> 1570 bytes | |||
-rw-r--r-- | make/resources/android/res-jogl/layout/main.xml | 12 | ||||
-rw-r--r-- | make/resources/android/res-jogl/values/strings.xml | 8 | ||||
-rw-r--r-- | make/resources/android/res-launcher/drawable-hdpi/icon.png | bin | 0 -> 2516 bytes | |||
-rw-r--r-- | make/resources/android/res-launcher/drawable-ldpi/icon.png | bin | 0 -> 1172 bytes | |||
-rw-r--r-- | make/resources/android/res-launcher/drawable-mdpi/icon.png | bin | 0 -> 1570 bytes | |||
-rw-r--r-- | make/resources/android/res-launcher/layout/main.xml | 12 | ||||
-rw-r--r-- | make/resources/android/res-launcher/values/strings.xml | 10 |
12 files changed, 108 insertions, 0 deletions
diff --git a/make/resources/android/AndroidManifest-jogl.xml b/make/resources/android/AndroidManifest-jogl.xml new file mode 100644 index 000000000..24e7a7b78 --- /dev/null +++ b/make/resources/android/AndroidManifest-jogl.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + sharedUserId="com.jogamp.Community" + package="javax.media.opengl"> + + <uses-sdk android:minSdkVersion="9" /> + <uses-library android:name="com.jogamp.common" android:required="true" /> + + <application android:icon="@drawable/icon" + android:label="@string/app_name" + android:description="@string/app_descr" + android:persistent="false" + > + <activity android:name="jogamp.newt.driver.android.NewtVersionActivity" + 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-launcher.xml b/make/resources/android/AndroidManifest-launcher.xml new file mode 100644 index 000000000..7ce9693f1 --- /dev/null +++ b/make/resources/android/AndroidManifest-launcher.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + sharedUserId="com.jogamp.Community" + package="com.jogamp.android.launcher"> + + <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" + > + <activity android:name="com.jogamp.android.launcher.NEWTLauncherVersionActivity" + 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> + <activity android:name="com.jogamp.android.launcher.NEWTLauncherGearsActivity" + android:finishOnTaskLaunch="true" + android:launchMode="singleTop" + android:label="@string/activity_gears1_name" + android:description="@string/activity_gears1_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/res-jogl/drawable-hdpi/icon.png b/make/resources/android/res-jogl/drawable-hdpi/icon.png Binary files differnew file mode 100644 index 000000000..2148232c9 --- /dev/null +++ b/make/resources/android/res-jogl/drawable-hdpi/icon.png diff --git a/make/resources/android/res-jogl/drawable-ldpi/icon.png b/make/resources/android/res-jogl/drawable-ldpi/icon.png Binary files differnew file mode 100644 index 000000000..c16211f36 --- /dev/null +++ b/make/resources/android/res-jogl/drawable-ldpi/icon.png diff --git a/make/resources/android/res-jogl/drawable-mdpi/icon.png b/make/resources/android/res-jogl/drawable-mdpi/icon.png Binary files differnew file mode 100644 index 000000000..1c26e3f83 --- /dev/null +++ b/make/resources/android/res-jogl/drawable-mdpi/icon.png diff --git a/make/resources/android/res-jogl/layout/main.xml b/make/resources/android/res-jogl/layout/main.xml new file mode 100644 index 000000000..3a5f117d3 --- /dev/null +++ b/make/resources/android/res-jogl/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-jogl/values/strings.xml b/make/resources/android/res-jogl/values/strings.xml new file mode 100644 index 000000000..6c0a469e0 --- /dev/null +++ b/make/resources/android/res-jogl/values/strings.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="hello">Jogl Library</string> + <string name="app_name">JogAmp\'s Jogl Library</string> + <string name="app_descr">Contains Dalvik and native code, supporting native bindings.</string> + <string name="activity_v_name">Jogl</string> + <string name="activity_v_descr">The Jogl Library.</string> +</resources> diff --git a/make/resources/android/res-launcher/drawable-hdpi/icon.png b/make/resources/android/res-launcher/drawable-hdpi/icon.png Binary files differnew file mode 100644 index 000000000..2148232c9 --- /dev/null +++ b/make/resources/android/res-launcher/drawable-hdpi/icon.png diff --git a/make/resources/android/res-launcher/drawable-ldpi/icon.png b/make/resources/android/res-launcher/drawable-ldpi/icon.png Binary files differnew file mode 100644 index 000000000..c16211f36 --- /dev/null +++ b/make/resources/android/res-launcher/drawable-ldpi/icon.png diff --git a/make/resources/android/res-launcher/drawable-mdpi/icon.png b/make/resources/android/res-launcher/drawable-mdpi/icon.png Binary files differnew file mode 100644 index 000000000..1c26e3f83 --- /dev/null +++ b/make/resources/android/res-launcher/drawable-mdpi/icon.png diff --git a/make/resources/android/res-launcher/layout/main.xml b/make/resources/android/res-launcher/layout/main.xml new file mode 100644 index 000000000..3a5f117d3 --- /dev/null +++ b/make/resources/android/res-launcher/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-launcher/values/strings.xml b/make/resources/android/res-launcher/values/strings.xml new file mode 100644 index 000000000..23b0248bd --- /dev/null +++ b/make/resources/android/res-launcher/values/strings.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="hello">Jogl Launcher</string> + <string name="app_name">JogAmp\'s Jogl Launcher</string> + <string name="app_descr">Launches Jogl Applications.</string> + <string name="activity_v_name">Jogl\'s Version</string> + <string name="activity_v_descr">Shows the version of the Jogl Library.</string> + <string name="activity_gears1_name">Gears ES1</string> + <string name="activity_gears1_descr">Gears ES1</string> +</resources> |