summaryrefslogtreecommitdiff
path: root/android-project/AndroidManifest.xml
AgeCommit message (Collapse)AuthorFilesLines
2017-10-23Switched to new style gradle Android application build processSam Lantinga1-58/+0
2017-08-12Fixed bug 3191 - haptic system on android?Sam Lantinga1-0/+2
Patch provided by jintiao and Milan Nikolic, thanks!
2017-05-19android: add screenSize to AndroidManifest's configChanges (thanks, Daniel!).Ryan C. Gordon1-1/+1
Fixes Bugzilla #3448. "Starting with Android API 13, another configuration change must be declared to be handled by the app if it is desired to not let the system handle rotation itself: https://developer.android.com/guide/topics/resources/runtime-changes.html#HandlingTheChange This will have effect if either a developer or SDL per default will set target API > 12. Currently it is set to 12, but this might change in the future, like when applying this patch: https://bugzilla.libsdl.org/show_bug.cgi?id=3445 The effect of not having this change applied is that the SDL app is destroyed upon rotation. Even when the manifest has an additional entry to e.g. always stay in landscape mode, the onDestroy() call will happen on devices that are portrait per default, when switching off screen due to power save. The device will then (at least try to) rotate into portrait to show the portrait screen lock after resume. I believe it is safe to apply this patch even with target API still set to 12, the additional parameter is simply ignored."
2016-08-11android: implement audio capture support.Ryan C. Gordon1-0/+3
2016-04-25Android: Updated name of README file.Philipp Wiesemann1-1/+1
2015-06-05Android: Added deactivated intent filter for testing drop file support.Philipp Wiesemann1-0/+8
2015-04-13Android: Fixed lint warning about order of elements in AndroidManifest.xml.Philipp Wiesemann1-8/+9
2013-11-22[Android] Fixes #2247, enable hardware acceleration by default.Gabriel Jacobo1-1/+2
Setting android:hardwareAccelerated="true" seems to fix some random behaviors in certain devices like the XperiaE. Ref: http://developer.android.com/guide/topics/graphics/hardware-accel.html
2013-11-06[Android] Fixes Bug 2041 - can't get SDL_QUIT event...Gabriel Jacobo1-1/+3
Thanks to Denis Bernard! Also, changed the Android manifest so the app doesn't quit with orientation changes, and made testgles.c exit properly on Android.
2013-11-05Adds Joystick support for AndroidGabriel Jacobo1-1/+1
This bumps the build SDK level to 12 (up from 10). Runtime requirements remain the same (at API level < 12 joystick support is disabled). Also enables building SDL for armv7 and x86.
2013-06-09Updated names of README files in source comments.Philipp Wiesemann1-1/+1
2013-06-09Fixed Android Lint warning in AndroidManifest.xml.Philipp Wiesemann1-1/+1
If targetSdkVersion not set it becomes same as minSdkVersion and causes warning.
2013-05-10Fixed Android Lint warning in AndroidManifest.xml.Philipp Wiesemann1-1/+2
2013-04-02Fixed bug 1779 - SDL's Android project template has old default icons from ↵Sam Lantinga1-1/+1
Android. Philipp Wiesemann SDL's Android project template has old default icons from Android while iOS project template has custom icons with SDL's logo. There is a Wizard in the Android Developer Tools to create "Android Icon Sets". As an example I created icons from the iOS loading screen and attached them in a ZIP archive. They are named "ic_launcher.png" instead of "icon.png" because that is the new name used in Android projects. To use them the AndroidManifest.xml needs to be changed to have "@drawable/ic_launcher" instead of "@drawable/icon". I do not know why there was no icon created for ldpi. Maybe it is deprecated.
2013-03-04Fixes AndroidManifest comment, Android API level 10 = Android 2.3.3Gabriel Jacobo1-1/+1
2013-02-08Fixed bug 1711 - Comment in "manifest" element within ↵Sam Lantinga1-3/+3
android-project/AndroidManifest.xml is the source of troubles ny00@outlook.com Let me quote the following opening tag from android-project/AndroidManifest.xml: <manifest xmlns:android="http://schemas.android.com/apk/res/android" <!-- Replace org.libsdl.app with the identifier of your game, e.g. com.gamemaker.game --> package="org.libsdl.app" android:versionCode="1" android:versionName="1.0" android:installLocation="auto"> The comment (with the text "Replace org.libsdl.app with...") seems to be a cause of troubles. Here are a few examples I've spotted: 1) While using nkd-build from android-ndk-r8d, I receive the following error: Invalid attribute name: <!-- replace org.libsdl.app with the identifier of your game, e.g. com.gamemaker.game -- /home/ny00123/util/android-ndk-r8d/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop. 2) Repeating this but with android-ndk-r6b (an earlier revision), it reduces to a warning and actual complication is not halted. 3) Following the instructions in README.android and using Eclipse (from a recently downloaded ADT Bundle), I cannot seem to be able to create an Android project from existing sources (one of the SDL test apps for now). * On a side note, I can't find where I may choose the "Build Target" before clicking "Finish", but it does not seem to be related to this bug report. Anyway, following the choice of the project path and a click on "Finish", nothing seems to occur. If I rather do so after removing the above comment from AndroidManifest.xml, though, the project appears on Eclipse as expected once I click on "Finish".
2012-11-02Simplified the manifest a little - we don't need a Java class in there. :)Sam Lantinga1-22/+3
2012-11-02Updated the Android project template and README.androidSam Lantinga1-3/+44
Added information on how to customize your application name and icon. Added information on using STL with an Android application Increased the minimum API level to 10, because that's the lowest API that currently has an emulator image for testing.
2012-08-11Fixed bug 1564 - SDL has no function to open a screen keyboard on Android.Sam Lantinga1-0/+3
Philipp Wiesemann implemented a general on-screen keyboard API for SDL, and I switched iOS code over to use it.
2011-01-06Added the Android project and lots of info to README.androidSam Lantinga1-0/+15