Simplified the manifest a little - we don't need a Java class in there. :)
authorSam Lantinga <slouken@libsdl.org>
Fri, 02 Nov 2012 03:03:55 -0700
changeset 6632 147f85ac2e4b
parent 6631 47ab7ba21530
child 6633 e36b94438fcf
Simplified the manifest a little - we don't need a Java class in there. :)
android-project/AndroidManifest.xml
--- a/android-project/AndroidManifest.xml	Fri Nov 02 02:37:49 2012 -0700
+++ b/android-project/AndroidManifest.xml	Fri Nov 02 03:03:55 2012 -0700
@@ -12,29 +12,10 @@
          directory under src matching the package, e.g.
          	src/com/gamemaker/game/MyGame.java
 
-        /**********************************************************/
-	package com.gamemaker.game;
-
-	import org.libsdl.app.SDLActivity; 
-	import android.os.*; 
-
-	/* 
-	 * A sample wrapper class that just calls SDLActivity 
-	 */ 
+         then replace "SDLActivity" with the name of your class (e.g. "MyGame")
+         in the XML below.
 
-	public class MyGame extends SDLActivity { 
-	    protected void onCreate(Bundle savedInstanceState) { 
-	        super.onCreate(savedInstanceState); 
-	    } 
-	   
-	    protected void onDestroy() { 
-	        super.onDestroy(); 
-	    } 
-	}
-        /**********************************************************/
-
-         then replace "SDLActivity" in the XML below with the name of
-         your class, e.g. "MyGame" ...
+         An example Java class can be found in README.android
     -->
     <application android:label="@string/app_name"
                  android:icon="@drawable/icon"