Skip to content

Latest commit

 

History

History
77 lines (64 loc) · 2.8 KB

AndroidManifest.xml

File metadata and controls

77 lines (64 loc) · 2.8 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">
Oct 24, 2017
Oct 24, 2017
11
12
<!-- Android 4.0.1 -->
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="16" />
13
14
15
16
<!-- OpenGL ES 2.0 -->
<uses-feature android:glEsVersion="0x00020000" />
Jun 6, 2018
Jun 6, 2018
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!-- Touchscreen support -->
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<!-- Game controller support -->
<uses-feature
android:name="android.hardware.gamepad"
android:required="false" />
<!-- External mouse input events -->
<uses-feature
android:name="android.hardware.type.pc"
android:required="false" />
32
33
<!-- Allow writing to external storage -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Aug 12, 2017
Aug 12, 2017
34
35
<!-- Allow access to the vibrator -->
<uses-permission android:name="android.permission.VIBRATE" />
Aug 12, 2016
Aug 12, 2016
37
38
39
<!-- if you want to capture audio, uncomment this. -->
<!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
40
<!-- Create a Java class extending SDLActivity and place it in a
Oct 23, 2017
Oct 23, 2017
41
42
directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java
43
44
45
then replace "SDLActivity" with the name of your class (e.g. "MyGame")
in the XML below.
Apr 25, 2016
Apr 25, 2016
46
An example Java class can be found in README-android.md
47
48
-->
<application android:label="@string/app_name"
Oct 23, 2017
Oct 23, 2017
49
50
51
52
android:icon="@mipmap/ic_launcher"
android:allowBackup="true"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:hardwareAccelerated="true" >
Nov 2, 2017
Nov 2, 2017
53
54
55
56
57
<!-- Example of setting SDL hints from AndroidManifest.xml:
<meta-data android:name="SDL_ENV.SDL_ACCELEROMETER_AS_JOYSTICK" android:value="0"/>
-->
58
<activity android:name="SDLActivity"
Oct 23, 2017
Oct 23, 2017
59
android:label="@string/app_name"
Nov 2, 2017
Nov 2, 2017
60
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
Oct 23, 2017
Oct 23, 2017
61
>
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<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
77
</manifest>