summaryrefslogtreecommitdiffstats
path: root/platform/android/java
Commit message (Collapse)AuthorAgeFilesLines
...
* | Android: Style fixes to manifest and build.gradleRémi Verschelde2019-08-272-106/+119
|/
* Android: Bump gradle version to 5.1.1Rémi Verschelde2019-08-272-2/+2
| | | | | Matching changes made in #31521 and #31547 but only in the Jetbrains IDE config.
* Update the fallback input mapping for the Oculus mobile devices.fhuya2019-08-263-45/+179
|
* Merge pull request #31437 from volzhs/vibrate-mobileRémi Verschelde2019-08-211-0/+18
|\ | | | | Support vibration for Android and iOS
| * Support vibration for Android and iOSvolzhs2019-08-211-0/+18
| |
* | Shut down Godot processes on app exit.fhuya2019-08-201-0/+4
|/
* Make the meta-data name attribute settable. This will facilitate reuse for ↵fhuya2019-07-021-2/+2
| | | | ARCore integration.
* Merge pull request #29824 from m4gr3d/add_ovr_exportRémi Verschelde2019-07-027-34/+51
|\ | | | | Add XR mode selection to the Android export process.
| * Add XR mode selection to the Android export process.fhuya2019-07-027-34/+51
| |
* | Fix some keyboards not working with Androidlawnjelly2019-06-211-2/+10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #17004 Currently the keydown and keyup messages are handled with method like this: if ((source & InputDevice.SOURCE_JOYSTICK) == InputDevice.SOURCE_JOYSTICK || (source & InputDevice.SOURCE_DPAD) == InputDevice.SOURCE_DPAD || (source & InputDevice.SOURCE_GAMEPAD) == InputDevice.SOURCE_GAMEPAD) { // joystick input } else { // keyboard input } The constant for SOURCE_DPAD is 513 10 0000 0001 and the constant for SOURCE_KEYBOARD is 257 1 0000 0001 However, rather confusingly, for many keyboards the source sent by android is 769 11 0000 0001 Thus the keyboard is passing the check as being a DPAD and being processed as a joystick rather than keyboard. This PR handles the specific case of 769, allowing input from physical keyboards.
* Setup Godot to support the Oculus Mobile SDK.fhuya2019-05-3013-652/+1270
|
* Android: Include Joysticks/Gamepads which are available on app start.wombatstampede2019-05-282-26/+49
|
* Git: Explicitly list binary files as such to avoid EOL changeRémi Verschelde2019-05-251-84/+84
| | | | | | | | | | text=auto works well in Git 2.10+ but it's broken in previous versions, which are still used in production on e.g. Ubuntu 16.04 LTS. Also fix a couple missed text files with CRLF terminators. .bat files likely require it to be processed properly on Windows, but core.autocrlf should take care of converting them on the fly when checking out on Windows.
* Fix typos with codespellRémi Verschelde2019-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* Change "ID" to lowercase "id"Aaron Franke2019-05-091-2/+2
| | | | 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.
* Rename wrong field.Juan Linietsky2019-04-241-2/+2
|
* 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