diff options
author | Rami Santina <[email protected]> | 2011-07-26 13:39:34 +0300 |
---|---|---|
committer | Rami Santina <[email protected]> | 2011-07-26 13:39:34 +0300 |
commit | e8a8fdda769277496772444fa4f99f863e9f355a (patch) | |
tree | 82f1be259c5ef67d57e32b8cc9ae7cfaae47b9ab /make/lib | |
parent | 2488c4de3e5fe7c4b8258af3fb8aae9b4d5091ce (diff) |
Added android packaging for android gluegen-rt.apk
the apk package can be installed on android device
using adb install gluegen-rt.apk
reference package on device is com.jogamp.gluegen
gerenic icons is added to be replaced by jogamp logo
changes to apk can be controled thru manifest lib/android/AndroidManifest.xml
Diffstat (limited to 'make/lib')
-rw-r--r-- | make/lib/android/AndroidManifest.xml | 18 | ||||
-rw-r--r-- | make/lib/android/res/drawable-hdpi/icon.png | bin | 0 -> 4147 bytes | |||
-rw-r--r-- | make/lib/android/res/drawable-ldpi/icon.png | bin | 0 -> 1723 bytes | |||
-rw-r--r-- | make/lib/android/res/drawable-mdpi/icon.png | bin | 0 -> 2574 bytes | |||
-rw-r--r-- | make/lib/android/res/layout/main.xml | 12 | ||||
-rw-r--r-- | make/lib/android/res/values/strings.xml | 5 |
6 files changed, 35 insertions, 0 deletions
diff --git a/make/lib/android/AndroidManifest.xml b/make/lib/android/AndroidManifest.xml new file mode 100644 index 0000000..7ddeac8 --- /dev/null +++ b/make/lib/android/AndroidManifest.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.jogamp.gluegen" + android:versionCode="1" + android:versionName="1.0"> + <uses-sdk android:minSdkVersion="8" /> + + <application android:icon="@drawable/icon" android:label="@string/app_name"> + <activity android:name=".GluegenActivity" + android:label="@string/app_name"> + <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/lib/android/res/drawable-hdpi/icon.png b/make/lib/android/res/drawable-hdpi/icon.png Binary files differnew file mode 100644 index 0000000..8074c4c --- /dev/null +++ b/make/lib/android/res/drawable-hdpi/icon.png diff --git a/make/lib/android/res/drawable-ldpi/icon.png b/make/lib/android/res/drawable-ldpi/icon.png Binary files differnew file mode 100644 index 0000000..1095584 --- /dev/null +++ b/make/lib/android/res/drawable-ldpi/icon.png diff --git a/make/lib/android/res/drawable-mdpi/icon.png b/make/lib/android/res/drawable-mdpi/icon.png Binary files differnew file mode 100644 index 0000000..a07c69f --- /dev/null +++ b/make/lib/android/res/drawable-mdpi/icon.png diff --git a/make/lib/android/res/layout/main.xml b/make/lib/android/res/layout/main.xml new file mode 100644 index 0000000..3a5f117 --- /dev/null +++ b/make/lib/android/res/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/lib/android/res/values/strings.xml b/make/lib/android/res/values/strings.xml new file mode 100644 index 0000000..779e490 --- /dev/null +++ b/make/lib/android/res/values/strings.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="hello">Hello World, GluegenActivity!</string> + <string name="app_name">Gluegen</string> +</resources> |