From: kruland2607 Date: Sat, 24 Dec 2011 00:38:22 +0000 (+0000) Subject: Added android project baggage. Using svn:external on the android directory for pulli... X-Git-Tag: upstream/12.03~1^2~226 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=cb3399a95fa26c1f6c1916b20325859fe3cfae00;p=debian%2Fopenrocket Added android project baggage. Using svn:external on the android directory for pulling in the main source directory ../src git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@244 180e2498-e6e9-4542-8430-84ac67f01cd8 --- diff --git a/android/.classpath b/android/.classpath new file mode 100644 index 00000000..996577fd --- /dev/null +++ b/android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/android/.project b/android/.project new file mode 100644 index 00000000..c3f04e46 --- /dev/null +++ b/android/.project @@ -0,0 +1,33 @@ + + + OpenRocket-android + + + + + + 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/android/AndroidManifest.xml b/android/AndroidManifest.xml new file mode 100644 index 00000000..f1dd120c --- /dev/null +++ b/android/AndroidManifest.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/android/libs/android-support-v4.jar b/android/libs/android-support-v4.jar new file mode 100644 index 00000000..b9a42793 Binary files /dev/null and b/android/libs/android-support-v4.jar differ diff --git a/android/proguard.cfg b/android/proguard.cfg new file mode 100644 index 00000000..b1cdf17b --- /dev/null +++ b/android/proguard.cfg @@ -0,0 +1,40 @@ +-optimizationpasses 5 +-dontusemixedcaseclassnames +-dontskipnonpubliclibraryclasses +-dontpreverify +-verbose +-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* + +-keep public class * extends android.app.Activity +-keep public class * extends android.app.Application +-keep public class * extends android.app.Service +-keep public class * extends android.content.BroadcastReceiver +-keep public class * extends android.content.ContentProvider +-keep public class * extends android.app.backup.BackupAgentHelper +-keep public class * extends android.preference.Preference +-keep public class com.android.vending.licensing.ILicensingService + +-keepclasseswithmembernames class * { + native ; +} + +-keepclasseswithmembers class * { + public (android.content.Context, android.util.AttributeSet); +} + +-keepclasseswithmembers class * { + public (android.content.Context, android.util.AttributeSet, int); +} + +-keepclassmembers class * extends android.app.Activity { + public void *(android.view.View); +} + +-keepclassmembers enum * { + public static **[] values(); + public static ** valueOf(java.lang.String); +} + +-keep class * implements android.os.Parcelable { + public static final android.os.Parcelable$Creator *; +} diff --git a/android/project.properties b/android/project.properties new file mode 100644 index 00000000..f049142c --- /dev/null +++ b/android/project.properties @@ -0,0 +1,11 @@ +# 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 use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-10 diff --git a/android/res/drawable-hdpi/ic_launcher.png b/android/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 00000000..8074c4c5 Binary files /dev/null and b/android/res/drawable-hdpi/ic_launcher.png differ diff --git a/android/res/drawable-ldpi/ic_launcher.png b/android/res/drawable-ldpi/ic_launcher.png new file mode 100644 index 00000000..8074c4c5 Binary files /dev/null and b/android/res/drawable-ldpi/ic_launcher.png differ diff --git a/android/res/drawable-mdpi/ic_launcher.png b/android/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 00000000..8074c4c5 Binary files /dev/null and b/android/res/drawable-mdpi/ic_launcher.png differ diff --git a/android/res/layout/main.xml b/android/res/layout/main.xml new file mode 100644 index 00000000..ac9c0aba --- /dev/null +++ b/android/res/layout/main.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/android/res/values/strings.xml b/android/res/values/strings.xml new file mode 100644 index 00000000..41bfe9b9 --- /dev/null +++ b/android/res/values/strings.xml @@ -0,0 +1,7 @@ + + + + Hello World, OpenRocketSimulation! + OpenRocketSimulation + + \ No newline at end of file