aboutsummaryrefslogtreecommitdiff
path: root/dists/android/AndroidManifest.xml.in
blob: ce0bef6f9488432728bd9a2a031b5e5ec6ab17cf (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
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>             <!-- -*- xml -*- -->
<!-- NB: android:versionCode needs to be bumped for formal releases -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="org.inodes.gus.scummvm"
      android:versionCode="6" android:versionName="@VERSION@">

  <!-- This version is built against a cupcake (and newer?) ABI.
       It works on Android 1.5 (SDK 3) and Android 1.6 (SDK 4).
       Native libraries changed around in Android 2.0 (SDK 5) so we
       don't work on that yet.
    -->
  <uses-sdk android:minSdkVersion="3"
	    android:maxSdkVersion="4"
	    android:targetSdkVersion="4" />

  <application android:name=".ScummVMApplication"
    android:label="@string/app_name"
    android:description="@string/app_desc"
    android:icon="@drawable/scummvm"
    android:persistent="true">
    <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" />
      </intent-filter>
    </activity>
    <activity android:name=".Unpacker"
      android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
      android:screenOrientation="landscape"
      android:configChanges="orientation|keyboardHidden">
      <meta-data android:name="org.inodes.gus.unpacker.nextActivity"
		 android:value="org.inodes.gus.scummvm/.ScummVMActivity" />
      <intent-filter>
	<action android:name="android.intent.action.MAIN" />
	<category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
    </activity>
  </application>

  <permission android:name="org.inodes.gus.scummvm.permission.SCUMMVM_PLUGIN"
	      android:label="@string/scummvm_perm_plugin_label"
	      android:description="@string/scummvm_perm_plugin_desc"
	      android:protectionLevel="signature" />

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


  <!-- Always needs some sort of qwerty keyboard.
       Can work with a D-pad / trackball -->
  <uses-configuration android:reqFiveWayNav="true"
		      android:reqKeyboardType="qwerty"/>
  <!-- .. or touchscreen -->
  <uses-configuration android:reqTouchScreen="finger"
		      android:reqKeyboardType="qwerty"/>
  <uses-configuration android:reqTouchScreen="stylus"
		      android:reqKeyboardType="qwerty"/>
</manifest>