annotate android/AndroidManifest.xml @ 1797:5ff8f0d28188

Make sure there are no races between main thread and audio thread around mix_buf. Fix lack of proper termination in shader loading code
author Mike Pavone <pavone@retrodev.com>
date Sun, 24 Mar 2019 13:31:22 -0700
parents 4f46b4cd5035
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
856
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
2 <!-- Replace org.libsdl.app with the identifier of your game below, e.g.
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
3 com.gamemaker.game
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
4 -->
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
5 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
6 package="com.retrodev.blastem"
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
7 android:versionCode="1"
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
8 android:versionName="1.0"
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
9 android:installLocation="auto">
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
10
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
11 <!-- Create a Java class extending SDLActivity and place it in a
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
12 directory under src matching the package, e.g.
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
13 src/com/gamemaker/game/MyGame.java
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
14
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
15 then replace "SDLActivity" with the name of your class (e.g. "MyGame")
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
16 in the XML below.
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
17
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
18 An example Java class can be found in README-android.txt
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
19 -->
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
20 <application android:label="@string/app_name"
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
21 android:icon="@drawable/ic_launcher"
893
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
22 android:banner="@drawable/ic_launcher"
856
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
23 android:allowBackup="true"
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
24 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
893
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
25 android:hardwareAccelerated="true"
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
26 android:isGame="true"
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
27 android:debuggable="true">
856
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
28 <activity android:name="BlastEmActivity"
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
29 android:label="@string/app_name"
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
30 android:configChanges="keyboardHidden|orientation"
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
31 >
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
32 <intent-filter>
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
33 <action android:name="android.intent.action.MAIN" />
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
34 <category android:name="android.intent.category.LAUNCHER" />
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
35 </intent-filter>
893
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
36 <intent-filter>
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
37 <action android:name="android.intent.action.MAIN" />
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
38 <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
39 </intent-filter>
856
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
40 </activity>
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
41 </application>
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
42
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
43 <!-- Android 4.1.1 -->
893
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
44 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />
856
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
45
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
46 <!-- OpenGL ES 2.0 -->
893
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
47 <uses-feature android:glEsVersion="0x00020000" />
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
48
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
49 <uses-feature android:name="android.hardware.gamepad" android:required="false" />
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
50 <uses-feature android:name="android.software.leanback" android:required="false" />
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
51 <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
856
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
52
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
53 <!-- Allow writing to external storage -->
893
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 856
diff changeset
54 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
856
09f5a349e881 Added android project layout
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
55 </manifest>