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="com.cleverraven.cataclysmdda" 7 android:versionCode="1" 8 android:versionName="1.0" 9 android:installLocation="auto"> 10 11 <!-- OpenGL ES 2.0 --> 12 <uses-feature android:glEsVersion="0x00020000" /> 13 14 <!-- Allow writing to external storage --> 15 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 16 <!-- Allow access to the vibrator --> 17 <uses-permission android:name="android.permission.VIBRATE" /> 18 19 <!-- if you want to capture audio, uncomment this. --> 20 <!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> --> 21 22 <!-- Create a Java class extending SDLActivity and place it in a 23 directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java 24 25 then replace "SDLActivity" with the name of your class (e.g. "MyGame") 26 in the XML below. 27 28 An example Java class can be found in README-android.md 29 --> 30 <application android:label="@string/app_name" 31 android:icon="@drawable/ic_launcher" 32 android:allowBackup="true" 33 android:theme="@style/AppTheme" 34 android:hardwareAccelerated="true" 35 android:isGame="true" > 36 37 <!-- Example of setting SDL hints from AndroidManifest.xml: 38 <meta-data android:name="SDL_ENV.SDL_ACCELEROMETER_AS_JOYSTICK" android:value="0"/> 39 --> 40 41 <activity android:name="SplashScreen" 42 android:label="@string/app_name" 43 android:launchMode="singleInstance" 44 android:keepScreenOn="true" 45 android:screenOrientation="userLandscape" 46 android:configChanges="keyboardHidden|keyboard|orientation|screenSize|navigation" 47 > 48 <intent-filter> 49 <action android:name="android.intent.action.MAIN" /> 50 <category android:name="android.intent.category.LAUNCHER" /> 51 </intent-filter> 52 </activity> 53 <activity android:name="CataclysmDDA" 54 android:label="@string/app_name" 55 android:launchMode="singleInstance" 56 android:keepScreenOn="true" 57 android:screenOrientation="userLandscape" 58 android:configChanges="keyboardHidden|keyboard|orientation|screenSize|navigation" 59 > 60 </activity> 61 </application> 62 63</manifest> 64