commit 1265e6ed8560aab5e6e85407466bf2bbd2398145 Author: Miguel Astor Date: Thu Nov 21 08:10:12 2013 -0430 Initial commit. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..87a44e0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,30 @@ +# built application files +*.apk +*.ap_ + +# files for the dex VM +*.dex + +# Java class files +*.class + +# generated files +bin/ +gen/ + +# Local configuration file (sdk path, etc) +local.properties + +# Eclipse project files +.classpath +.project + +# Proguard folder generated by Eclipse +proguard/ + +# Intellij project files +*.iml +*.ipr +*.iws +.idea/ + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..48ab4c6 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/AndroidManifest.xml b/AndroidManifest.xml new file mode 100644 index 0000000..c04d301 --- /dev/null +++ b/AndroidManifest.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/data/libgdx.png b/assets/data/libgdx.png new file mode 100644 index 0000000..8cd285a Binary files /dev/null and b/assets/data/libgdx.png differ diff --git a/libs/armeabi-v7a/libgdx.so b/libs/armeabi-v7a/libgdx.so new file mode 100644 index 0000000..bd49369 Binary files /dev/null and b/libs/armeabi-v7a/libgdx.so differ diff --git a/libs/armeabi/libgdx.so b/libs/armeabi/libgdx.so new file mode 100644 index 0000000..9476a88 Binary files /dev/null and b/libs/armeabi/libgdx.so differ diff --git a/libs/gdx-backend-android-sources.jar b/libs/gdx-backend-android-sources.jar new file mode 100644 index 0000000..5433cd4 Binary files /dev/null and b/libs/gdx-backend-android-sources.jar differ diff --git a/libs/gdx-backend-android.jar b/libs/gdx-backend-android.jar new file mode 100644 index 0000000..4ed2446 Binary files /dev/null and b/libs/gdx-backend-android.jar differ diff --git a/libs/x86/libgdx.so b/libs/x86/libgdx.so new file mode 100644 index 0000000..1abc12a Binary files /dev/null and b/libs/x86/libgdx.so differ diff --git a/proguard.cfg b/proguard.cfg new file mode 100644 index 0000000..b1cdf17 --- /dev/null +++ b/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/project.properties b/project.properties new file mode 100644 index 0000000..8da376a --- /dev/null +++ b/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-15 diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000..8074c4c Binary files /dev/null and b/res/drawable-hdpi/ic_launcher.png differ diff --git a/res/drawable-ldpi/ic_launcher.png b/res/drawable-ldpi/ic_launcher.png new file mode 100644 index 0000000..1095584 Binary files /dev/null and b/res/drawable-ldpi/ic_launcher.png differ diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000..a07c69f Binary files /dev/null and b/res/drawable-mdpi/ic_launcher.png differ diff --git a/res/layout/main.xml b/res/layout/main.xml new file mode 100644 index 0000000..5c4fde2 --- /dev/null +++ b/res/layout/main.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml new file mode 100644 index 0000000..227659a --- /dev/null +++ b/res/values/strings.xml @@ -0,0 +1,4 @@ + + + My LibGDX Game + \ No newline at end of file diff --git a/src/ve/ucv/ciens/ccg/nxtar/MainActivity.java b/src/ve/ucv/ciens/ccg/nxtar/MainActivity.java new file mode 100644 index 0000000..3232854 --- /dev/null +++ b/src/ve/ucv/ciens/ccg/nxtar/MainActivity.java @@ -0,0 +1,18 @@ +package ve.ucv.ciens.ccg.nxtar; + +import android.os.Bundle; + +import com.badlogic.gdx.backends.android.AndroidApplication; +import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; + +public class MainActivity extends AndroidApplication { + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + + AndroidApplicationConfiguration cfg = new AndroidApplicationConfiguration(); + cfg.useGL20 = false; + + initialize(new Main(), cfg); + } +} \ No newline at end of file