mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-05 08:28:26 -05:00
96 lines
3.7 KiB
XML
Executable File
96 lines
3.7 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Replace com.test.game 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">
|
|
|
|
<!-- OpenGL ES 2.0 -->
|
|
<uses-feature android:glEsVersion="0x00020000" />
|
|
|
|
<!-- Touchscreen support -->
|
|
<uses-feature
|
|
android:name="android.hardware.touchscreen"
|
|
android:required="false" />
|
|
|
|
<!-- Game controller support -->
|
|
<uses-feature
|
|
android:name="android.hardware.bluetooth"
|
|
android:required="false" />
|
|
<uses-feature
|
|
android:name="android.hardware.gamepad"
|
|
android:required="false" />
|
|
<uses-feature
|
|
android:name="android.hardware.usb.host"
|
|
android:required="false" />
|
|
|
|
<!-- External mouse input events -->
|
|
<uses-feature
|
|
android:name="android.hardware.type.pc"
|
|
android:required="false" />
|
|
|
|
<!-- Audio recording support -->
|
|
<!-- if you want to capture audio, uncomment this. -->
|
|
<!-- <uses-feature
|
|
android:name="android.hardware.microphone"
|
|
android:required="false" /> -->
|
|
|
|
<!-- Allow writing to external storage -->
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<!-- Allow access to Bluetooth devices -->
|
|
<uses-permission android:name="android.permission.BLUETOOTH" />
|
|
<!-- Allow access to the vibrator -->
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
<!-- if you want to capture audio, uncomment this. -->
|
|
<!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
|
|
|
|
<!-- Create a Java class extending SDLActivity and place it in a
|
|
directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java
|
|
|
|
then replace "SDLActivity" with the name of your class (e.g. "MyGame")
|
|
in the XML below.
|
|
|
|
An example Java class can be found in README-android.md
|
|
-->
|
|
<application android:label="@string/app_name"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:allowBackup="true"
|
|
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
|
android:hardwareAccelerated="true" >
|
|
|
|
<!-- Example of setting SDL hints from AndroidManifest.xml:
|
|
<meta-data android:name="SDL_ENV.SDL_ACCELEROMETER_AS_JOYSTICK" android:value="0"/>
|
|
-->
|
|
|
|
<activity android:name="SDLActivity"
|
|
android:label="@string/app_name"
|
|
android:alwaysRetainTaskState="true"
|
|
android:launchMode="singleInstance"
|
|
android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
|
|
android:preferMinimalPostProcessing="true"
|
|
>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
<!-- Let Android know that we can handle some USB devices and should receive this event -->
|
|
<intent-filter>
|
|
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
|
|
</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>
|