| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 |
package="org.tildearrow.furnace" |
| 4 |
android:versionCode="228" |
| 5 |
android:versionName="0.6.8.1" |
| 6 |
android:installLocation="auto"> |
| 7 |
|
| 8 |
<!-- OpenGL ES 2.0 --> |
| 9 |
<uses-feature android:glEsVersion="0x00020000" /> |
| 10 |
|
| 11 |
<!-- Touchscreen support --> |
| 12 |
<uses-feature |
| 13 |
android:name="android.hardware.touchscreen" |
| 14 |
android:required="false" /> |
| 15 |
|
| 16 |
<!-- Game controller support --> |
| 17 |
<uses-feature |
| 18 |
android:name="android.hardware.bluetooth" |
| 19 |
android:required="false" /> |
| 20 |
<uses-feature |
| 21 |
android:name="android.hardware.gamepad" |
| 22 |
android:required="false" /> |
| 23 |
<uses-feature |
| 24 |
android:name="android.hardware.usb.host" |
| 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 |
<!-- Audio recording support --> |
| 33 |
<!-- if you want to capture audio, uncomment this. --> |
| 34 |
<!-- <uses-feature |
| 35 |
android:name="android.hardware.microphone" |
| 36 |
android:required="false" /> --> |
| 37 |
|
| 38 |
<!-- Allow downloading to the external storage on Android 5.1 and older --> |
| 39 |
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 40 |
|
| 41 |
<!-- Allow access to Bluetooth devices --> |
| 42 |
<!-- Currently this is just for Steam Controller support and requires setting SDL_HINT_JOYSTICK_HIDAPI_STEAM --> |
| 43 |
<!-- <uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" /> --> |
| 44 |
<!-- <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> --> |
| 45 |
|
| 46 |
<!-- Allow access to the vibrator --> |
| 47 |
<uses-permission android:name="android.permission.VIBRATE" /> |
| 48 |
|
| 49 |
<!-- if you want to capture audio, uncomment this. --> |
| 50 |
<!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> --> |
| 51 |
|
| 52 |
<!-- Create a Java class extending SDLActivity and place it in a |
| 53 |
directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java |
| 54 |
|
| 55 |
then replace "SDLActivity" with the name of your class (e.g. "MyGame") |
| 56 |
in the XML below. |
| 57 |
|
| 58 |
An example Java class can be found in README-android.md |
| 59 |
--> |
| 60 |
<application android:label="@string/app_name" |
| 61 |
android:icon="@mipmap/ic_launcher" |
| 62 |
android:allowBackup="true" |
| 63 |
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" |
| 64 |
android:hardwareAccelerated="true" > |
| 65 |
|
| 66 |
<!-- Example of setting SDL hints from AndroidManifest.xml: |
| 67 |
<meta-data android:name="SDL_ENV.SDL_ACCELEROMETER_AS_JOYSTICK" android:value="0"/> |
| 68 |
--> |
| 69 |
|
| 70 |
<activity android:name="MainActivity" |
| 71 |
android:label="@string/app_name" |
| 72 |
android:alwaysRetainTaskState="true" |
| 73 |
android:launchMode="singleInstance" |
| 74 |
android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation" |
| 75 |
android:exported="true" |
| 76 |
> |
| 77 |
<intent-filter> |
| 78 |
<action android:name="android.intent.action.MAIN" /> |
| 79 |
<category android:name="android.intent.category.LAUNCHER" /> |
| 80 |
</intent-filter> |
| 81 |
<!-- Let Android know that we can handle some USB devices and should receive this event --> |
| 82 |
<intent-filter> |
| 83 |
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" /> |
| 84 |
</intent-filter> |
| 85 |
<!-- Drop file event --> |
| 86 |
<intent-filter> |
| 87 |
<action android:name="android.intent.action.VIEW" /> |
| 88 |
<category android:name="android.intent.category.DEFAULT" /> |
| 89 |
<category android:name="android.intent.category.BROWSABLE" /> |
| 90 |
|
| 91 |
<data android:scheme="file"/> |
| 92 |
<data android:scheme="content"/> |
| 93 |
<data android:host="*"/> |
| 94 |
<data android:mimeType="*/*"/> |
| 95 |
<data android:pathPattern=".*\\.fur"/> |
| 96 |
</intent-filter> |
| 97 |
</activity> |
| 98 |
</application> |
| 99 |
|
| 100 |
</manifest> |