android-project/AndroidManifest.xml
author Sam Lantinga <slouken@libsdl.org>
Fri, 02 Dec 2016 21:01:13 -0800
changeset 10673 4f02752f8d85
parent 10280 985f92b2f8e9
child 11018 1f151426c2ca
permissions -rw-r--r--
Added SDL_HINT_MOUSE_NORMAL_SPEED_SCALE and SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE to scale the speed of the mouse.
This currently doesn't affect absolute motion, which would need to be implemented on each windowing system so the cursor matches the reported mouse coordinates.
slouken@4965
     1
<?xml version="1.0" encoding="utf-8"?>
slouken@6838
     2
<!-- Replace org.libsdl.app with the identifier of your game below, e.g.
slouken@6838
     3
     com.gamemaker.game
slouken@6838
     4
-->
slouken@4965
     5
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
slouken@4965
     6
      package="org.libsdl.app"
slouken@4965
     7
      android:versionCode="1"
slouken@6631
     8
      android:versionName="1.0"
slouken@6631
     9
      android:installLocation="auto">
slouken@6392
    10
philipp@9558
    11
    <!-- Android 2.3.3 -->
philipp@9558
    12
    <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="12" />
philipp@9558
    13
philipp@9558
    14
    <!-- OpenGL ES 2.0 -->
philipp@9558
    15
    <uses-feature android:glEsVersion="0x00020000" />
philipp@9558
    16
philipp@9558
    17
    <!-- Allow writing to external storage -->
philipp@9558
    18
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
philipp@9558
    19
icculus@10280
    20
    <!-- if you want to capture audio, uncomment this. -->
icculus@10280
    21
    <!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
icculus@10280
    22
slouken@6631
    23
    <!-- Create a Java class extending SDLActivity and place it in a
slouken@6631
    24
         directory under src matching the package, e.g.
slouken@6631
    25
         	src/com/gamemaker/game/MyGame.java
slouken@6392
    26
slouken@6632
    27
         then replace "SDLActivity" with the name of your class (e.g. "MyGame")
slouken@6632
    28
         in the XML below.
slouken@6631
    29
philipp@10157
    30
         An example Java class can be found in README-android.md
slouken@6631
    31
    -->
slouken@6631
    32
    <application android:label="@string/app_name"
slouken@7044
    33
                 android:icon="@drawable/ic_launcher"
philipp@7165
    34
                 android:allowBackup="true"
gabomdq@8020
    35
                 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
gabomdq@8020
    36
                 android:hardwareAccelerated="true" >
slouken@4965
    37
        <activity android:name="SDLActivity"
gabomdq@7910
    38
                  android:label="@string/app_name"
gabomdq@7910
    39
                  android:configChanges="keyboardHidden|orientation"
gabomdq@7910
    40
                  >
slouken@4965
    41
            <intent-filter>
slouken@4965
    42
                <action android:name="android.intent.action.MAIN" />
slouken@4965
    43
                <category android:name="android.intent.category.LAUNCHER" />
slouken@4965
    44
            </intent-filter>
philipp@9708
    45
            <!-- Drop file event -->
philipp@9708
    46
            <!--
philipp@9708
    47
            <intent-filter>
philipp@9708
    48
                <action android:name="android.intent.action.VIEW" />
philipp@9708
    49
                <category android:name="android.intent.category.DEFAULT" />
philipp@9708
    50
                <data android:mimeType="*/*" />
philipp@9708
    51
            </intent-filter>
philipp@9708
    52
            -->
slouken@4965
    53
        </activity>
slouken@4965
    54
    </application>
slouken@6631
    55
slouken@4965
    56
</manifest>