android-project/AndroidManifest.xml
author Ryan C. Gordon <icculus@icculus.org>
Fri, 28 Dec 2012 03:46:55 -0500
changeset 6774 ad8522052ce6
parent 6632 147f85ac2e4b
child 6838 abd1407af1f9
permissions -rw-r--r--
Replaced Gnome screensaver hack with D-Bus messages to org.gnome.ScreenSaver.
     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.
     4          com.gamemaker.game
     5      -->
     6       package="org.libsdl.app"
     7       android:versionCode="1"
     8       android:versionName="1.0"
     9       android:installLocation="auto">
    10 
    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
    14 
    15          then replace "SDLActivity" with the name of your class (e.g. "MyGame")
    16          in the XML below.
    17 
    18          An example Java class can be found in README.android
    19     -->
    20     <application android:label="@string/app_name"
    21                  android:icon="@drawable/icon"
    22 	         android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
    23         <activity android:name="SDLActivity"
    24                   android:label="@string/app_name">
    25             <intent-filter>
    26                 <action android:name="android.intent.action.MAIN" />
    27                 <category android:name="android.intent.category.LAUNCHER" />
    28             </intent-filter>
    29         </activity>
    30     </application>
    31 
    32     <!-- Android 2.1 -->
    33     <uses-sdk android:minSdkVersion="10" /> 
    34 
    35     <!-- OpenGL ES 2.0 -->
    36     <uses-feature android:glEsVersion="0x00020000" /> 
    37 
    38     <!-- Allow writing to external storage -->
    39     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 
    40 </manifest>