diff --git a/templates/android_project/AndroidManifest.xml b/templates/android_project/AndroidManifest.xml index 7f542111f..8bb0534fb 100644 --- a/templates/android_project/AndroidManifest.xml +++ b/templates/android_project/AndroidManifest.xml @@ -13,18 +13,23 @@ android:versionCode="1" android:versionName="1.0" > - <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="17" /> + <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17" /> <uses-feature android:glEsVersion="0x00020000" android:required="true" /> <!--<supports-gl-texture android:name="GL_OES_compressed_ETC1_RGB8_texture" android:required="true"/>--> + <!-- We do not have Java code. Therefore android:hasCode is set to false. --> <application android:allowBackup="false" android:hasCode="false" android:label="@string/app_name" android:icon="@drawable/icon" android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen" > + <!-- Our activity is the built-in NativeActivity framework class. --> <activity android:name="android.app.NativeActivity" android:configChanges="orientation|keyboardHidden" android:screenOrientation="landscape" android:clearTaskOnLaunch="true" > + <!-- android:theme="@android:style/Theme.NoTitleBar.Fullscreen" --> <!-- android:screenOrientation="portrait" --> + <!-- Tell NativeActivity the name of our .so --> + <!--<meta-data android:name="android.app.lib_name" android:value="raylib_game" /> --> <meta-data android:name="android.app.lib_name" android:value="@string/app_name" /> <intent-filter> <action android:name="android.intent.action.MAIN" />