android-project/app/src/main/AndroidManifest.xml
changeset 11647 5816b27073a4
child 11650 e7ea7ca30199
equal deleted inserted replaced
11646:c875be618b90 11647:5816b27073a4
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Replace com.test.game 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     <!-- Android 2.3.3 -->
       
    12     <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="25" />
       
    13 
       
    14     <!-- OpenGL ES 2.0 -->
       
    15     <uses-feature android:glEsVersion="0x00020000" />
       
    16 
       
    17     <!-- Allow writing to external storage -->
       
    18     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
       
    19     <!-- Allow access to the vibrator -->
       
    20     <uses-permission android:name="android.permission.VIBRATE" />
       
    21 
       
    22     <!-- if you want to capture audio, uncomment this. -->
       
    23     <!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
       
    24 
       
    25     <!-- Create a Java class extending SDLActivity and place it in a
       
    26          directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java
       
    27  
       
    28          then replace "SDLActivity" with the name of your class (e.g. "MyGame")
       
    29          in the XML below.
       
    30 
       
    31          An example Java class can be found in README-android.md
       
    32     -->
       
    33     <application android:label="@string/app_name"
       
    34         android:icon="@mipmap/ic_launcher"
       
    35         android:allowBackup="true"
       
    36         android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
       
    37         android:hardwareAccelerated="true" >
       
    38         <activity android:name="SDLActivity"
       
    39             android:label="@string/app_name"
       
    40             android:configChanges="keyboardHidden|orientation|screenSize"
       
    41             >
       
    42             <intent-filter>
       
    43                 <action android:name="android.intent.action.MAIN" />
       
    44                 <category android:name="android.intent.category.LAUNCHER" />
       
    45             </intent-filter>
       
    46             <!-- Drop file event -->
       
    47             <!--
       
    48             <intent-filter>
       
    49                 <action android:name="android.intent.action.VIEW" />
       
    50                 <category android:name="android.intent.category.DEFAULT" />
       
    51                 <data android:mimeType="*/*" />
       
    52             </intent-filter>
       
    53             -->
       
    54         </activity>
       
    55     </application>
       
    56 
       
    57 </manifest>