mirror of
https://github.com/yawut/SDL.git
synced 2026-08-26 18:55:32 -05:00
Simplified the manifest a little - we don't need a Java class in there. :)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user