1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 <!-- Replace org.libsdl.app with the identifier of your game, e.g.
6 package="org.libsdl.app"
7 android:versionCode="1"
8 android:versionName="1.0"
9 android:installLocation="auto">
11 <!-- Create a Java class extending SDLActivity and place it in a
12 directory under src matching the package, e.g.
13 src/com/gamemaker/game/MyGame.java
15 /**********************************************************/
16 package com.gamemaker.game;
18 import org.libsdl.app.SDLActivity;
22 * A sample wrapper class that just calls SDLActivity
25 public class MyGame extends SDLActivity {
26 protected void onCreate(Bundle savedInstanceState) {
27 super.onCreate(savedInstanceState);
30 protected void onDestroy() {
34 /**********************************************************/
36 then replace "SDLActivity" in the XML below with the name of
37 your class, e.g. "MyGame" ...
39 <application android:label="@string/app_name"
40 android:icon="@drawable/icon"
41 android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
42 <activity android:name="SDLActivity"
43 android:label="@string/app_name">
45 <action android:name="android.intent.action.MAIN" />
46 <category android:name="android.intent.category.LAUNCHER" />
52 <uses-sdk android:minSdkVersion="10" />
54 <!-- OpenGL ES 2.0 -->
55 <uses-feature android:glEsVersion="0x00020000" />
57 <!-- Allow writing to external storage -->
58 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />