2015-06-21 15:33:46 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Replace org.libsdl.app with the identifier of your game below, e.g.
|
|
|
|
com.gamemaker.game
|
|
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
package="org.libsdl.app"
|
|
|
|
android:versionCode="1"
|
|
|
|
android:versionName="1.0"
|
|
|
|
android:installLocation="auto">
|
|
|
|
|
|
|
|
<!-- Android 2.3.3 -->
|
|
|
|
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="12" />
|
|
|
|
|
|
|
|
<!-- OpenGL ES 2.0 -->
|
|
|
|
<uses-feature android:glEsVersion="0x00020000" />
|
|
|
|
|
|
|
|
<!-- Allow writing to external storage -->
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
2017-08-12 15:15:09 +00:00
|
|
|
<!-- Allow access to the vibrator -->
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
2015-06-21 15:33:46 +00:00
|
|
|
|
2016-08-12 02:04:49 +00:00
|
|
|
<!-- if you want to capture audio, uncomment this. -->
|
|
|
|
<!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
|
|
|
|
|
2015-06-21 15:33:46 +00:00
|
|
|
<!-- Create a Java class extending SDLActivity and place it in a
|
|
|
|
directory under src matching the package, e.g.
|
|
|
|
src/com/gamemaker/game/MyGame.java
|
|
|
|
|
|
|
|
then replace "SDLActivity" with the name of your class (e.g. "MyGame")
|
|
|
|
in the XML below.
|
|
|
|
|
2016-04-25 20:17:38 +00:00
|
|
|
An example Java class can be found in README-android.md
|
2015-06-21 15:33:46 +00:00
|
|
|
-->
|
|
|
|
<application android:label="@string/app_name"
|
|
|
|
android:icon="@drawable/ic_launcher"
|
|
|
|
android:allowBackup="true"
|
|
|
|
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
|
|
|
android:hardwareAccelerated="true" >
|
|
|
|
<activity android:name="SDLActivity"
|
|
|
|
android:label="@string/app_name"
|
2017-05-19 19:06:05 +00:00
|
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
2015-06-21 15:33:46 +00:00
|
|
|
>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
</manifest>
|