fteqw/engine/droid/AndroidManifest.xml

74 lines
4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.fteqw"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="auto">
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="8"/>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
<uses-permission android:name="android.permission.VIBRATE"></uses-permission>
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".FTEDroidActivity"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation">
<!-- launcher icon -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<!-- mime types with unspecified schemes (please don't explode). one for each mime type. because I'm paranoid. -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="application/x-qtv" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="text/x-quaketvident" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="application/x-ftemanifest" />
</intent-filter>
<!-- various file extensions for when people forgot the mime type or simply don't know it -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\\.qtv" />
<data android:scheme="content" android:host="*" android:pathPattern=".*\\.qtv" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\.qtv" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\\.mvd" />
<data android:scheme="content" android:host="*" android:pathPattern=".*\\.mvd" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\.mvd" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\\.dem" />
<data android:scheme="content" android:host="*" android:pathPattern=".*\\.dem" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\.dem" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\\.pak" />
<data android:scheme="content" android:host="*" android:pathPattern=".*\\.pak" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\.pak" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\\.pk3" />
<data android:scheme="content" android:host="*" android:pathPattern=".*\\.pk3" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\.pk3" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\\.bsp" />
<data android:scheme="content" android:host="*" android:pathPattern=".*\\.bsp" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\.bsp" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\\.fmf" />
<data android:scheme="content" android:host="*" android:pathPattern=".*\\.fmf" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\\.fmf" />
</intent-filter>
</activity>
</application>
</manifest>