summaryrefslogtreecommitdiff
path: root/platform/android/java
AgeCommit message (Collapse)Author
2017-11-11Align sensors and implement gravity sensor for AndroidBastiaan Olij
2017-11-05Convert DOS line endings to Unix line endingsRémi Verschelde
Should fix issues some of us have with `misc/dist/uwp_template/AppxManifest.xml` always showing up as modified. Might cause issues on Windows due to the removal of BOMs or change of line endings in some of the Mono, UWP or gradlew.bat files, we will test and adapt if need be.
2017-10-15export onBackPress for Android ModuleRamesh Ravone
2017-10-10Merge pull request #11775 from endragor/android-keyboard-inputAndreas Haas
Improve input handling on Android
2017-10-04Allow to obtain virtual keyboard heightRuslan Mustakov
On mobile platforms virtual keyboards take up significant amount of screen space and UI containing a text box may need to be adjusted after the keyboard appears to keep the text box visible to user. This commit adds a way to obtain virtual keyabord height so that controls are aware of how much they need to move.
2017-10-04Improve input handling on AndroidRuslan Mustakov
- Dispatch input immediately as it comes, instead of delaying it to the next step(). - Fix text box input handling when caret is at the middle of the text. - Minimize queueEvent calls on Java side.
2017-09-21Fix TrustManager for Androidvolzhs
2017-08-30Make GDNative work on AndroidRuslan Mustakov
The changes include work done to ensure that GDNative apps and Nim integration specifically can run on Android. The changes have been tested on our WIP game, which uses godot-nim and depends on several third-party .so libs, and Platformer demo to ensure nothing got broken. - .so libraries are exported to lib/ folder in .apk, instead of assets/, because that's where Android expects them to be and it resolves the library name into "lib/<ABI>/<name>", where <ABI> is the ABI matching the current device. So we establish the convention that Android .so files in the project must be located in the folder corresponding to the ABI they were compiled for. - Godot callbacks (event handlers) are now called from the same thread from which Main::iteration is called. It is also what Godot now considers to be the main thread, because Main::setup is also called from there. This makes threading on Android more consistent with other platforms, making the code that depends on Thread::get_main_id more portable (GDNative has such code). - Sizes of GDNative API types have been fixed to work on 32-bit platforms.
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-23fix UnsatisfiedLinkError when quittingHenrik Andersson
2017-08-21Fixes for new two-dash long command line argumentsRémi Verschelde
- Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping - Cleanup obsolete code here and there
2017-08-19Revert "Second take at making command-line arguments more UNIX-like + ↵Juan Linietsky
main.cpp and help cleanup"
2017-08-19Fixes for new two-dash long command line argumentsRémi Verschelde
- Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Cleanup obsolete code here and there
2017-07-30update gradle-android buildtool for masterISylvox
2017-07-17-Reorganized all properties of project settings (Sorry, Again).Juan Linietsky
(Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-05-20Merge pull request #8824 from volzhs/android-payment-masterRémi Verschelde
Fix android payment logical error
2017-05-19Fix android payment logical errorvolzhs
getting sku detail runs only if mod != 0 which means querying 20*n will not get sku details. referenced from https://github.com/googlesamples/android-play-billing/blob/master/TrivialDrive/app/src/main/java/com/example/android/trivialdrivesample/util/IabHelper.java#L1029-L1062
2017-05-17Use new Godot icon consistently everywhereRémi Verschelde
2017-05-12Merge pull request #8723 from volzhs/fix-android-masterRémi Verschelde
Fix possible memory leak for Android and update gradle
2017-05-12Update to latest gradlevolzhs
2017-05-12Fix possible memory leak for Androidvolzhs
/godot_dev/platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloaderService.java:575: Error: The WIFI_SERVICE must be looked up on the Application context or memory will leak on devices < Android N. Try changing to .getApplicationContext() [WifiManagerLeak] mWifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Explanation for issues of type "WifiManagerLeak": On versions prior to Android N (24), initializing the WifiManager via Context#getSystemService can cause a memory leak if the context is not the application context. Change context.getSystemService(...) to context.getApplicationContext().getSystemService(...). 1 errors, 0 warnings
2017-05-07Improve documentation of thirdparty code snippetsRémi Verschelde
2017-04-26Fix error or download again if use obb for Androidvolzhs
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-23Several fixes to Android exporter and port.Juan Linietsky
Android seems to be working again!
2017-03-04Fix handling input for Androidvolzhs
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-11Added a BACK notification besides QUIT, so they go in separate channels.Juan Linietsky
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-11-28Add alert window on Androidvolzhs
2016-11-09Fix Directory.dir_exist/get_current_dir for 'res://' on Androidvolzhs
Fix #7014
2016-08-08Android: Rename values-zh to values-zh-rCN (#6063)Skyfrit
2016-08-08Android: Add support for Traditional Chinese (HK) (#6061)Skyfrit
2016-08-08Android: Add support for Traditional Chinese (TW) (#6061)Skyfrit
2016-07-24Merge pull request #5415 from volzhs/improve-android-paymentJuan Linietsky
Improve android payment
2016-07-20Implement get_screen_dpi() on AndroidMario Schlack
2016-07-18Add querying details of IAP items for androidvolzhs
2016-07-18Fix can't get all info if user purchases many items and not consumedvolzhs
2016-07-16Added gyroscope support to Godot and AndroidJamil Halabi
2016-06-27Make Android build smarter (SCons + Gradle)Pedro J. Estébanez
Upgrade Gradle and Android plugin for Gradle Disable all signing and zip-aligning for the export templates Give correct names to generated APKs Put .so files built by SCons right where Gradle has to pick them according to arch & build type Downgrade NDK platform to 14 to match minSdkVersion
2016-06-24Fix Android sensors polling rate on resumeGeorge Marques
Fix #5306
2016-06-25Remove duplicated aidl for androidvolzhs
Tested IAP function on device.
2016-06-22Fixed iCCp chunk in pngsJ08nY
neccesary for libpng 1.6.27 to work silently
2016-06-22Merge pull request #5357 from volzhs/fix-locale-androidRémi Verschelde
fix android resource locale
2016-06-22fix android resource localevolzhs
2016-06-21correct current Intent for androidvolzhs
2016-06-18Add missing license headers in our source files (#5255)Rémi Verschelde
Also removes a couple wrong Godot headers from third-party source files.
2016-06-07Merge pull request #4729 from volzhs/android-23Rémi Verschelde
Supporting Android API 23 (Android 6.0)
2016-05-30Icon: Remove more grey capsules behind official logoRémi Verschelde