summaryrefslogtreecommitdiffstats
path: root/platform/android/java
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove forgotten strings in configuration filesJuan Linietsky2019-04-242-9/+0
|
* Android now (optionally) builds the template when exportingJuan Linietsky2019-04-072-0/+177
| | | | | Added new way to create add-ons Removed old way to create add-ons
* Merge pull request #28164 from BastiaanOlij/AndroidCameraPermissionRémi Verschelde2019-04-191-0/+7
|\ | | | | Add camera permissions to android
| * Add camera permissions to androidBastiaan Olij2019-04-181-0/+7
| |
* | Fix get_unique_id() on Androidvolzhs2019-04-181-1/+1
|/
* Style: Apply new changes from clang-format 8.0Rémi Verschelde2019-04-0917-91/+58
| | | | | | 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).
* Restructuring glue code to make it easier to extendBastiaan Olij2019-04-052-0/+4
|
* Request Android record permission when neededDESKTOP-3H3MR3A\eloisa2019-03-082-1/+24
|
* Restart game on GL context loss on AndroidPedro J. Estébanez2019-03-065-19/+78
| | | | | | | Bonus: Remove useless old code about reload hooks Fixes #22955.
* Android: Fixed a possible crash in keyboard hide method. It's called not ↵Ivan Ponomarev2019-02-271-8/+0
| | | | from main thread so InputMethodManager can't be used directly.
* Fix Android keep screen on working properlyvolzhs2019-01-151-16/+10
|
* Update copyright statements to 2019Rémi Verschelde2019-01-0121-42/+42
| | | | Happy new year to the wonderful Godot community!
* Fix lint error/warning while building android templatevolzhs2018-12-1879-7274/+6456
|
* Remove trailing whitespaceRémi Verschelde2018-11-204-5/+5
| | | | | With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'` (+ manual revert of some thirdparty code under `platform/android`).
* Style: Apply clang-format to wrongly formatted filesRémi Verschelde2018-10-292-8/+8
|
* Prevent a device to be added/deleted more than once on AndroidXavier Sellier2018-10-291-74/+100
| | | | cherry-picked from fb5a601217eed9da6c9b4260c3dfc775abee2733
* Fix build with Android NDK r18Wojciech Milkowski2018-10-081-1/+1
| | | | As a bonus there is no need to use undocumented Gradle API any more.
* Many more fixes for GLES2 mobile export. Also added ability to turn on ↵Juan Linietsky2018-10-022-5/+20
| | | | OpenGL debugging on Android export.
* Add support for onRequestPermissionsResult()FeralBytes2018-09-271-0/+10
| | | | | | 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.
* Add clipboard operation for android OSXavier Sellier2018-09-051-0/+23
|
* Style: Format code with clang-format 6.0.1Rémi Verschelde2018-07-184-13/+0
|
* Fix keep screen on property path for Android/iOS/UWPvolzhs2018-07-171-1/+1
|
* Merge pull request #19799 from kosz78/android-payment-fixMax Hilbrunner2018-07-031-9/+7
|\ | | | | Fix possible NullPointerException crash on cancel payment
| * Fix possible NullPointerException crash on cancel paymentKonstantin Zaitsev2018-06-271-9/+7
| |
* | Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio2018-06-283-0/+0
|/
* Implement OpenGL ES rasterizer selection logic for Android.geequlim2018-06-261-3/+12
|
* Remove android compatibility under API 16volzhs2018-05-092-11/+7
|
* Provide error details when in-app purchase failsRuslan Mustakov2018-04-192-13/+13
|
* Fix Android input source checksRuslan Mustakov2018-04-161-2/+2
| | | | | | 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.
* Remove some debugging prints on AndroidHugo Locurcio2018-02-181-48/+0
|
* Add signals and a check function for Android service connectivity.Xavier Sellier2018-02-142-1/+28
| | | | | | | - 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)
* Fix broken APK expansion due to missed option renamesRémi Verschelde2018-02-131-1/+1
| | | | | | | 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.
* Fix Android onTextChanged crashRuslan Mustakov2018-01-171-4/+7
| | | | | | 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.
* Fix Android multi touchvolzhs2018-01-072-5/+2
| | | | Fix #11798
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-0522-0/+22
| | | | | | 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.
* Update android build tool to latestvolzhs2018-01-031-1/+1
|
* Update copyright statements to 2018Rémi Verschelde2018-01-0122-44/+44
| | | | Happy new year to the wonderful Godot community!
* Style: Apply clang-format to Java filesRémi Verschelde2017-12-1025-1510/+1419
| | | | Only those from org/godotengine/godot though, not the thirdparty ones.
* Improve slang, especially in user-visible partsUnknown2017-12-051-9/+9
|
* Align sensors and implement gravity sensor for AndroidBastiaan Olij2017-11-112-3/+11
|
* Convert DOS line endings to Unix line endingsRémi Verschelde2017-11-051-90/+90
| | | | | | | 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.
* export onBackPress for Android ModuleRamesh Ravone2017-10-152-8/+10
|
* Merge pull request #11775 from endragor/android-keyboard-inputAndreas Haas2017-10-101-52/+21
|\ | | | | Improve input handling on Android
| * Improve input handling on AndroidRuslan Mustakov2017-10-041-52/+21
| | | | | | | | | | | | | | | | | | - 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.
* | Allow to obtain virtual keyboard heightRuslan Mustakov2017-10-042-0/+17
|/ | | | | | | | 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.
* Fix TrustManager for Androidvolzhs2017-09-211-16/+4
|
* Make GDNative work on AndroidRuslan Mustakov2017-08-305-142/+257
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2722-22/+22
|
* fix UnsatisfiedLinkError when quittingHenrik Andersson2017-08-232-2/+2
|
* Fixes for new two-dash long command line argumentsRémi Verschelde2017-08-211-6/+6
| | | | | | | | | - 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