android-project/AndroidManifest.xml
author Ryan C. Gordon
Fri, 05 Aug 2016 01:44:15 -0400
changeset 10256 620329de23d4
parent 10157 6ad89111cb4f
child 10280 985f92b2f8e9
permissions -rw-r--r--
audio: Removed internal SDL_audiomem.h and macros.

I think this was important for SDL 1.2 because some targets needed
special device memory for DMA buffers or locked memory buffers for use in
hardware interrupts or something, but since it just defines to SDL_malloc
and SDL_free now, I took it out for clarity's sake.
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!-- Replace org.libsdl.app with the identifier of your game below, e.g.
     3      com.gamemaker.game
     4 -->
     5 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     6       package="org.libsdl.app"
     7       android:versionCode="1"
     8       android:versionName="1.0"
     9       android:installLocation="auto">
    10 
    11     <!-- Android 2.3.3 -->
    12     <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="12" />
    13 
    14     <!-- OpenGL ES 2.0 -->
    15     <uses-feature android:glEsVersion="0x00020000" />
    16 
    17     <!-- Allow writing to external storage -->
    18     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    19 
    20     <!-- Create a Java class extending SDLActivity and place it in a
    21          directory under src matching the package, e.g.
    22          	src/com/gamemaker/game/MyGame.java
    23 
    24          then replace "SDLActivity" with the name of your class (e.g. "MyGame")
    25          in the XML below.
    26 
    27          An example Java class can be found in README-android.md
    28     -->
    29     <application android:label="@string/app_name"
    30                  android:icon="@drawable/ic_launcher"
    31                  android:allowBackup="true"
    32                  android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
    33                  android:hardwareAccelerated="true" >
    34         <activity android:name="SDLActivity"
    35                   android:label="@string/app_name"
    36                   android:configChanges="keyboardHidden|orientation"
    37                   >
    38             <intent-filter>
    39                 <action android:name="android.intent.action.MAIN" />
    40                 <category android:name="android.intent.category.LAUNCHER" />
    41             </intent-filter>
    42             <!-- Drop file event -->
    43             <!--
    44             <intent-filter>
    45                 <action android:name="android.intent.action.VIEW" />
    46                 <category android:name="android.intent.category.DEFAULT" />
    47                 <data android:mimeType="*/*" />
    48             </intent-filter>
    49             -->
    50         </activity>
    51     </application>
    52 
    53 </manifest>