Skip to content

Latest commit

 

History

History
90 lines (77 loc) · 3.39 KB

AndroidManifest.xml

File metadata and controls

90 lines (77 loc) · 3.39 KB
 
1
<?xml version="1.0" encoding="utf-8"?>
Oct 23, 2017
Oct 23, 2017
2
<!-- Replace com.test.game with the identifier of your game below, e.g.
3
4
5
com.gamemaker.game
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Oct 23, 2017
Oct 23, 2017
6
7
8
9
package="org.libsdl.app"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="auto">
10
11
12
13
<!-- OpenGL ES 2.0 -->
<uses-feature android:glEsVersion="0x00020000" />
Jun 6, 2018
Jun 6, 2018
14
15
16
17
18
19
<!-- Touchscreen support -->
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<!-- Game controller support -->
Feb 15, 2020
Feb 15, 2020
20
21
22
<uses-feature
android:name="android.hardware.bluetooth"
android:required="false" />
Jun 6, 2018
Jun 6, 2018
23
24
25
<uses-feature
android:name="android.hardware.gamepad"
android:required="false" />
Feb 15, 2020
Feb 15, 2020
26
27
28
<uses-feature
android:name="android.hardware.usb.host"
android:required="false" />
Jun 6, 2018
Jun 6, 2018
29
30
31
32
33
34
<!-- External mouse input events -->
<uses-feature
android:name="android.hardware.type.pc"
android:required="false" />
Feb 15, 2020
Feb 15, 2020
35
36
37
38
39
40
<!-- Audio recording support -->
<!-- if you want to capture audio, uncomment this. -->
<!-- <uses-feature
android:name="android.hardware.microphone"
android:required="false" /> -->
41
42
<!-- Allow writing to external storage -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Feb 15, 2020
Feb 15, 2020
43
44
<!-- Allow access to Bluetooth devices -->
<uses-permission android:name="android.permission.BLUETOOTH" />
Aug 12, 2017
Aug 12, 2017
45
46
<!-- Allow access to the vibrator -->
<uses-permission android:name="android.permission.VIBRATE" />
Aug 12, 2016
Aug 12, 2016
48
49
50
<!-- if you want to capture audio, uncomment this. -->
<!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
51
<!-- Create a Java class extending SDLActivity and place it in a
Oct 23, 2017
Oct 23, 2017
52
53
directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java
54
55
56
then replace "SDLActivity" with the name of your class (e.g. "MyGame")
in the XML below.
Apr 25, 2016
Apr 25, 2016
57
An example Java class can be found in README-android.md
58
59
-->
<application android:label="@string/app_name"
Oct 23, 2017
Oct 23, 2017
60
61
62
63
android:icon="@mipmap/ic_launcher"
android:allowBackup="true"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:hardwareAccelerated="true" >
Nov 2, 2017
Nov 2, 2017
64
65
66
67
68
<!-- Example of setting SDL hints from AndroidManifest.xml:
<meta-data android:name="SDL_ENV.SDL_ACCELEROMETER_AS_JOYSTICK" android:value="0"/>
-->
69
<activity android:name="SDLActivity"
Oct 23, 2017
Oct 23, 2017
70
android:label="@string/app_name"
Jan 7, 2019
Jan 7, 2019
71
72
android:alwaysRetainTaskState="true"
android:launchMode="singleInstance"
May 8, 2020
May 8, 2020
73
android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
Oct 23, 2017
Oct 23, 2017
74
>
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<!-- Drop file event -->
<!--
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>
-->
</activity>
</application>
Oct 23, 2017
Oct 23, 2017
90
</manifest>