aboutsummaryrefslogtreecommitdiff
path: root/build/android/src/main/java/net.minetest.minetest
AgeCommit message (Collapse)Author
2020-04-15Android: add Android Studio support, completely redone java part (#9066)Maksim
2019-11-09Android: build fixes & compat fixesMoNTE48
2019-09-19Fix misuse of AsyncTask (#8799)Linjie Pan
2019-01-04Drop libgmp on Android and use mini-gmp (#8047)Loïc Blot
2018-12-22Android: Fix start-up crashes on version 4.x (#8003)stujones11
* Android: Load shared STL library * Android: Fix exception with window background image
2018-12-02Update Android java code (#7820)Maksim
Targets SDK 26 as required by the playstore. Fixes screen auto-rotation closing game. Hides on-screen navigation bar if present. Update gradlew. Fix display aspect on 18+/:9 displays (like a Samsung Galaxy S9). Remove small app icons, not required. Fix xml in unpacking activity. Support Android permission: On Android 6.0+ you need to manually give write permission (as required by google). Background during unpacking (just a demo for now). Material Design: no more Android 2 interface. Immersive mode (Android 4.4+ - hide NavBar for fullscreen mode).
2018-03-11Android build fixes for c++11stujones11
2018-01-04Prevent Android from automatically locking display (#6876)Wayward One
As mentioned in #5759
2016-05-26Tell irrlicht if we handle a key or not.est31
We can remove the function in MtNativeActivity now as it serves precisely that purpose: to tell irrlicht that we handled the esc key. TODO for later: * Perhaps try to find a more performant container than KeyList
2016-05-14Fix locked hardware buttons on AndroidMaksim Gamarnik
Fixes #2122 Fixes #1454 Addendum (est31) According from its docs in android_native_app_glue.h (from the NDK), the onInputEvent should "Return 1 if you have handled the event, 0 for any default dispatching". Before, we always returned 1, meaning we blocked all hardware keys to be given to the OS. This broke the volume keys and has caused #2122 and #1454. Although it bases on lots of guesswork, it can probably safely be said that CGUIEnvironment::postEventFromUser returns true if the event was handled, and false if not. Therefore, set the status variable depending on what postEventFromUser returned.
2016-04-28Upgrade Android build to Gradle build systemShadowNinja
The old Ant build system has been deprecated for a while and new development is focused on Gradle. I also removed a hardcoded string that lint caught and moved the patch files to a subdirectory. I left the JNI files in the root directory.