Atlas - AndroidManifest.xml

Home / ext / SDL / android-project / app / src / main Lines: 1 | Size: 4431 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)]
[FILE BEGIN]
1<?xml version="1.0" encoding="utf-8"?> 2<manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 android:versionCode="1" 4 android:versionName="1.0" 5 android:installLocation="auto"> 6 7 <!-- OpenGL ES 2.0 --> 8 <uses-feature android:glEsVersion="0x00020000" /> 9 10 <!-- Touchscreen support --> 11 <uses-feature 12 android:name="android.hardware.touchscreen" 13 android:required="false" /> 14 15 <!-- Game controller support --> 16 <uses-feature 17 android:name="android.hardware.bluetooth" 18 android:required="false" /> 19 <uses-feature 20 android:name="android.hardware.gamepad" 21 android:required="false" /> 22 <uses-feature 23 android:name="android.hardware.usb.host" 24 android:required="false" /> 25 26 <!-- External mouse input events --> 27 <uses-feature 28 android:name="android.hardware.type.pc" 29 android:required="false" /> 30 31 <!-- Audio recording support --> 32 <!-- if you want to record audio, uncomment this. --> 33 <!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> --> 34 <!-- <uses-feature 35 android:name="android.hardware.microphone" 36 android:required="false" /> --> 37 38 <!-- Camera support --> 39 <!-- if you want to record video, uncomment this. --> 40 <!-- 41 <uses-permission android:name="android.permission.CAMERA" /> 42 <uses-feature android:name="android.hardware.camera" /> 43 --> 44 45 <!-- Allow downloading to the external storage on Android 5.1 and older --> 46 <!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="22" /> --> 47 48 <!-- Allow access to Bluetooth devices --> 49 <!-- Currently this is just for Steam Controller support and requires setting SDL_HINT_JOYSTICK_HIDAPI_STEAM --> 50 <!-- <uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" /> --> 51 <!-- <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> --> 52 53 <!-- Allow access to the vibrator --> 54 <uses-permission android:name="android.permission.VIBRATE" /> 55 56 <!-- Allow access to Internet --> 57 <!-- if you want to connect to the network or internet, uncomment this. --> 58 <!-- 59 <uses-permission android:name="android.permission.INTERNET" /> 60 --> 61 62 <!-- Create a Java class extending SDLActivity and place it in a 63 directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java 64 65 then replace "SDLActivity" with the name of your class (e.g. "MyGame") 66 in the XML below. 67 68 An example Java class can be found in README-android.md 69 --> 70 <application android:label="@string/app_name" 71 android:icon="@mipmap/ic_launcher" 72 android:allowBackup="true" 73 android:theme="@style/AppTheme" 74 android:enableOnBackInvokedCallback="false" 75 android:hardwareAccelerated="true" > 76 77 <!-- Example of setting SDL hints from AndroidManifest.xml: 78 <meta-data android:name="SDL_ENV.SDL_ANDROID_TRAP_BACK_BUTTON" android:value="0"/> 79 --> 80 81 <activity android:name="SDLActivity" 82 android:label="@string/app_name" 83 android:alwaysRetainTaskState="true" 84 android:launchMode="singleInstance" 85 android:configChanges="layoutDirection|locale|grammaticalGender|fontScale|fontWeightAdjustment|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation" 86 android:preferMinimalPostProcessing="true" 87 android:exported="true" 88 > 89 <intent-filter> 90 <action android:name="android.intent.action.MAIN" /> 91 <category android:name="android.intent.category.LAUNCHER" /> 92 </intent-filter> 93 <!-- Let Android know that we can handle some USB devices and should receive this event --> 94 <intent-filter> 95 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" /> 96 </intent-filter> 97 <!-- Drop file event --> 98 <!-- 99 <intent-filter> 100 <action android:name="android.intent.action.VIEW" /> 101 <category android:name="android.intent.category.DEFAULT" /> 102 <data android:mimeType="*/*" /> 103 </intent-filter> 104 --> 105 </activity> 106 </application> 107 108</manifest> 109
[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.