comparison android/AndroidManifest.xml @ 893:4f46b4cd5035

Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
author Michael Pavone <pavone@retrodev.com>
date Sun, 22 Nov 2015 14:43:51 -0800
parents 09f5a349e881
children
comparison
equal deleted inserted replaced
892:381a3b2f6065 893:4f46b4cd5035
17 17
18 An example Java class can be found in README-android.txt 18 An example Java class can be found in README-android.txt
19 --> 19 -->
20 <application android:label="@string/app_name" 20 <application android:label="@string/app_name"
21 android:icon="@drawable/ic_launcher" 21 android:icon="@drawable/ic_launcher"
22 android:banner="@drawable/ic_launcher"
22 android:allowBackup="true" 23 android:allowBackup="true"
23 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 24 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
24 android:hardwareAccelerated="true" > 25 android:hardwareAccelerated="true"
26 android:isGame="true"
27 android:debuggable="true">
25 <activity android:name="BlastEmActivity" 28 <activity android:name="BlastEmActivity"
26 android:label="@string/app_name" 29 android:label="@string/app_name"
27 android:configChanges="keyboardHidden|orientation" 30 android:configChanges="keyboardHidden|orientation"
28 > 31 >
29 <intent-filter> 32 <intent-filter>
30 <action android:name="android.intent.action.MAIN" /> 33 <action android:name="android.intent.action.MAIN" />
31 <category android:name="android.intent.category.LAUNCHER" /> 34 <category android:name="android.intent.category.LAUNCHER" />
32 </intent-filter> 35 </intent-filter>
36 <intent-filter>
37 <action android:name="android.intent.action.MAIN" />
38 <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
39 </intent-filter>
33 </activity> 40 </activity>
34 </application> 41 </application>
35 42
36 <!-- Android 4.1.1 --> 43 <!-- Android 4.1.1 -->
37 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="16" /> 44 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />
38 45
39 <!-- OpenGL ES 2.0 --> 46 <!-- OpenGL ES 2.0 -->
40 <uses-feature android:glEsVersion="0x00020000" /> 47 <uses-feature android:glEsVersion="0x00020000" />
48
49 <uses-feature android:name="android.hardware.gamepad" android:required="false" />
50 <uses-feature android:name="android.software.leanback" android:required="false" />
51 <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
41 52
42 <!-- Allow writing to external storage --> 53 <!-- Allow writing to external storage -->
43 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 54 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
44 </manifest> 55 </manifest>