android-project/AndroidManifest.xml
author Sam Lantinga <slouken@libsdl.org>
Fri, 02 Nov 2012 03:03:55 -0700
changeset 6632 147f85ac2e4b
parent 6631 47ab7ba21530
child 6838 abd1407af1f9
permissions -rw-r--r--
Simplified the manifest a little - we don't need a Java class in there. :)

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    <!-- Replace org.libsdl.app with the identifier of your game, e.g.
         com.gamemaker.game
     -->
      package="org.libsdl.app"
      android:versionCode="1"
      android:versionName="1.0"
      android:installLocation="auto">

    <!-- Create a Java class extending SDLActivity and place it in a
         directory under src matching the package, e.g.
         	src/com/gamemaker/game/MyGame.java

         then replace "SDLActivity" with the name of your class (e.g. "MyGame")
         in the XML below.

         An example Java class can be found in README.android
    -->
    <application android:label="@string/app_name"
                 android:icon="@drawable/icon"
	         android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
        <activity android:name="SDLActivity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

    <!-- Android 2.1 -->
    <uses-sdk android:minSdkVersion="10" /> 

    <!-- OpenGL ES 2.0 -->
    <uses-feature android:glEsVersion="0x00020000" /> 

    <!-- Allow writing to external storage -->
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 
</manifest>