Atlas - AndroidManifest.xml

Home / ext / SDL2 / android-project / app / src / main Lines: 1 | Size: 2870 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)]
[FILE BEGIN]
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 4.0.1 --> 12 <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="16" /> 13 14 <!-- OpenGL ES 2.0 --> 15 <uses-feature android:glEsVersion="0x00020000" /> 16 17 <!-- Touchscreen support --> 18 <uses-feature 19 android:name="android.hardware.touchscreen" 20 android:required="false" /> 21 22 <!-- Game controller support --> 23 <uses-feature 24 android:name="android.hardware.gamepad" 25 android:required="false" /> 26 27 <!-- External mouse input events --> 28 <uses-feature 29 android:name="android.hardware.type.pc" 30 android:required="false" /> 31 32 <!-- Allow writing to external storage --> 33 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 34 <!-- Allow access to the vibrator --> 35 <uses-permission android:name="android.permission.VIBRATE" /> 36 37 <!-- if you want to capture audio, uncomment this. --> 38 <!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> --> 39 40 <!-- Create a Java class extending SDLActivity and place it in a 41 directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java 42 43 then replace "SDLActivity" with the name of your class (e.g. "MyGame") 44 in the XML below. 45 46 An example Java class can be found in README-android.md 47 --> 48 <application android:label="@string/app_name" 49 android:icon="@mipmap/ic_launcher" 50 android:allowBackup="true" 51 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 52 android:hardwareAccelerated="true" > 53 54 <!-- Example of setting SDL hints from AndroidManifest.xml: 55 <meta-data android:name="SDL_ENV.SDL_ACCELEROMETER_AS_JOYSTICK" android:value="0"/> 56 --> 57 58 <activity android:name="SDLActivity" 59 android:label="@string/app_name" 60 android:configChanges="keyboard|keyboardHidden|orientation|screenSize" 61 > 62 <intent-filter> 63 <action android:name="android.intent.action.MAIN" /> 64 <category android:name="android.intent.category.LAUNCHER" /> 65 </intent-filter> 66 <!-- Drop file event --> 67 <!-- 68 <intent-filter> 69 <action android:name="android.intent.action.VIEW" /> 70 <category android:name="android.intent.category.DEFAULT" /> 71 <data android:mimeType="*/*" /> 72 </intent-filter> 73 --> 74 </activity> 75 </application> 76 77</manifest> 78
[FILE END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.