aboutsummaryrefslogtreecommitdiff
path: root/dists/android/AndroidManifest.xml.in
blob: 9601425c74f61a3112dff5438cca40133121323f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="utf-8"?>
<!-- NB: android:versionCode needs to be bumped for formal releases -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
		package="org.scummvm.scummvm"
		android:versionCode="@ANDROID_VERSIONCODE@"
		android:versionName="@VERSION@"
		android:sharedUserId="org.scummvm.scummvm">

	<!-- This version works on Android 1.5 (SDK 3) and newer, but we
			want Android 2.2 (SDK 8) defaults and features. -->
	<uses-sdk android:minSdkVersion="3"
			android:targetSdkVersion="8"/>

	<application
			android:label="@string/app_name"
			android:description="@string/app_desc"
			android:isGame="true"
			android:icon="@drawable/scummvm">
		<activity android:name=".ScummVMActivity"
				android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
				android:screenOrientation="landscape"
				android:configChanges="orientation|keyboardHidden"
				android:windowSoftInputMode="adjustResize">
			<intent-filter>
				<action android:name="android.intent.action.MAIN"/>
				<category android:name="android.intent.category.LAUNCHER"/>
				<category android:name="tv.ouya.intent.category.GAME"/>
			</intent-filter>
		</activity>
		<activity android:name=".ScummVMActivity"
				android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
				android:banner="@drawable/leanback_icon">
		  <intent-filter>
				<action android:name="android.intent.action.MAIN"/>
				<category android:name="android.intent.category.LEANBACK_LAUNCHER"/>
		  </intent-filter>
		</activity>
	</application>

	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

	<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" android:required="true"/>

	<uses-feature android:name="android.hardware.screen.landscape"
		        android:required="false" />

	<uses-feature android:name="android.hardware.touchscreen"
		        android:required="false" />

	<uses-feature android:name="android.software.leanback"
		        android:required="false" />

</manifest>