android-project/AndroidManifest.xml
author Philipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 09 Jun 2013 11:51:59 +0200
changeset 7302 04c47f3bac46
parent 7165 f7fc1f0c3a08
child 7303 70f0438bf50d
permissions -rw-r--r--
Fixed Android Lint warning in AndroidManifest.xml.
If targetSdkVersion not set it becomes same as minSdkVersion and causes warning.
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!-- Replace org.libsdl.app with the identifier of your game below, e.g.
     3      com.gamemaker.game
     4 -->
     5 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     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/ic_launcher"
    22                  android:allowBackup="true"
    23                  android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
    24         <activity android:name="SDLActivity"
    25                   android:label="@string/app_name">
    26             <intent-filter>
    27                 <action android:name="android.intent.action.MAIN" />
    28                 <category android:name="android.intent.category.LAUNCHER" />
    29             </intent-filter>
    30         </activity>
    31     </application>
    32 
    33     <!-- Android 2.3.3 -->
    34     <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10" />
    35 
    36     <!-- OpenGL ES 2.0 -->
    37     <uses-feature android:glEsVersion="0x00020000" /> 
    38 
    39     <!-- Allow writing to external storage -->
    40     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 
    41 </manifest>