Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Simplified the manifest a little - we don't need a Java class in ther…
Browse files Browse the repository at this point in the history
…e. :)
  • Loading branch information
slouken committed Nov 2, 2012
1 parent 7250e52 commit 3060ad7
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions android-project/AndroidManifest.xml
Expand Up @@ -12,29 +12,10 @@
directory under src matching the package, e.g.
src/com/gamemaker/game/MyGame.java
/**********************************************************/
package com.gamemaker.game;
then replace "SDLActivity" with the name of your class (e.g. "MyGame")
in the XML below.
import org.libsdl.app.SDLActivity;
import android.os.*;
/*
* A sample wrapper class that just calls SDLActivity
*/
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"
Expand Down

0 comments on commit 3060ad7

Please sign in to comment.