summaryrefslogtreecommitdiff
path: root/platform/android/java
AgeCommit message (Collapse)Author
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-09Change "ID" to lowercase "id"Aaron Franke
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
2019-04-24Rename wrong field.Juan Linietsky
2019-04-24Remove forgotten strings in configuration filesJuan Linietsky
2019-04-07Android now (optionally) builds the template when exportingJuan Linietsky
Added new way to create add-ons Removed old way to create add-ons
2019-04-19Merge pull request #28164 from BastiaanOlij/AndroidCameraPermissionRémi Verschelde
Add camera permissions to android
2019-04-18Add camera permissions to androidBastiaan Olij
2019-04-18Fix get_unique_id() on Androidvolzhs
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-05Restructuring glue code to make it easier to extendBastiaan Olij
2019-03-08Request Android record permission when neededDESKTOP-3H3MR3A\eloisa
2019-03-06Restart game on GL context loss on AndroidPedro J. Estébanez
Bonus: Remove useless old code about reload hooks Fixes #22955.
2019-02-27Android: Fixed a possible crash in keyboard hide method. It's called not ↵Ivan Ponomarev
from main thread so InputMethodManager can't be used directly.
2019-01-15Fix Android keep screen on working properlyvolzhs
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-18Fix lint error/warning while building android templatevolzhs
2018-11-20Remove trailing whitespaceRémi Verschelde
With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'` (+ manual revert of some thirdparty code under `platform/android`).
2018-10-29Style: Apply clang-format to wrongly formatted filesRémi Verschelde
2018-10-29Prevent a device to be added/deleted more than once on AndroidXavier Sellier
cherry-picked from fb5a601217eed9da6c9b4260c3dfc775abee2733
2018-10-08Fix build with Android NDK r18Wojciech Milkowski
As a bonus there is no need to use undocumented Gradle API any more.
2018-10-02Many more fixes for GLES2 mobile export. Also added ability to turn on ↵Juan Linietsky
OpenGL debugging on Android export.
2018-09-27Add support for onRequestPermissionsResult()FeralBytes
Credit goes to @vanyasem https://github.com/vanyasem/Godot-AndroidPermissions But this is a much needed feature to support Android beyond API 21. Fixed style errors again.
2018-09-05Add clipboard operation for android OSXavier Sellier
2018-07-18Style: Format code with clang-format 6.0.1Rémi Verschelde
2018-07-17Fix keep screen on property path for Android/iOS/UWPvolzhs
2018-07-03Merge pull request #19799 from kosz78/android-payment-fixMax Hilbrunner
Fix possible NullPointerException crash on cancel payment
2018-06-28Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio
2018-06-27Fix possible NullPointerException crash on cancel paymentKonstantin Zaitsev
2018-06-26Implement OpenGL ES rasterizer selection logic for Android.geequlim
2018-05-09Remove android compatibility under API 16volzhs
2018-04-19Provide error details when in-app purchase failsRuslan Mustakov
2018-04-16Fix Android input source checksRuslan Mustakov
Input source types are not pure bit flags, they are combinations of flags, so != 0 check was incorrect and resulted in crashes later, when trying to obtain the device.
2018-02-18Remove some debugging prints on AndroidHugo Locurcio
2018-02-14Add signals and a check function for Android service connectivity.Xavier Sellier
- Add a iap_connect and iap_disconnect events for android platform. - Add isConnected() function returning true if its connected to android service, false otherwise (cherry picked from commit 546b48813f2b75481d846957275f6d4eecd8de3c)
2018-02-13Fix broken APK expansion due to missed option renamesRémi Verschelde
Command line options were refactored for 3.0 to follow the common usage of double-dashed long options, but `--main-pack` went through the cracks. Fixes #16533.
2018-01-17Fix Android onTextChanged crashRuslan Mustakov
As it turns out, onTextChanged supplies a mutable CharSequence, which lead to crashes or unexpected behaviour when input was coming faster than it was processed.
2018-01-07Fix Android multi touchvolzhs
Fix #11798
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-03Update android build tool to latestvolzhs
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-10Style: Apply clang-format to Java filesRémi Verschelde
Only those from org/godotengine/godot though, not the thirdparty ones.
2017-12-05Improve slang, especially in user-visible partsUnknown
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.