summaryrefslogtreecommitdiff
path: root/platform/android/java/src
AgeCommit message (Collapse)Author
2019-08-27Merge pull request #31709 from akien-mga/android-fix-thirdpartyRémi Verschelde
Android: Fix another regression with Secure.ANDROID_ID, and fix formatting and documentation of thirdparty code
2019-08-27Suppress MissingPermission warning for Android vibrationvolzhs
It does check its permission every `vibrate_handheld()` calls. Vibrate permission is added by checking it on export settings. And there are some changes for deprecated method.
2019-08-27Android: Reapply custom changes to Google expansion.downloader libRémi Verschelde
I don't know why they're needed, but readding for now to keep things working as they were.
2019-08-27Android: Resync Google expansion.downloader library with upstream, unmodifiedRémi Verschelde
Synced with https://github.com/google/play-apk-expansion/commit/9ecf54e5ce7c5a74a2eeedcec4d940ea52b16f0e.
2019-08-27Android: Reapply changes to Google licensing lib from #24145Rémi Verschelde
But document them better this time.
2019-08-27Android: Resync Google licensing lib with upstream, unmodifiedRémi Verschelde
It had been synced with style changes (spaces -> tabs), not sure why I accepted to merge it this way back then... Synced with https://github.com/google/play-licensing/commit/eb57657f666363914085cdde49d875cf49f5ab06, same as before. Custom-changes will be reapplied in the next commit, if relevant.
2019-08-27Android: Fix another regression with Secure.ANDROID_IDRémi Verschelde
Regression from #24145, which was missed in #28146.
2019-08-26Update the fallback input mapping for the Oculus mobile devices.fhuya
2019-08-21Merge pull request #31437 from volzhs/vibrate-mobileRémi Verschelde
Support vibration for Android and iOS
2019-08-21Support vibration for Android and iOSvolzhs
2019-08-20Shut down Godot processes on app exit.fhuya
2019-07-02Merge pull request #29824 from m4gr3d/add_ovr_exportRémi Verschelde
Add XR mode selection to the Android export process.
2019-07-02Add XR mode selection to the Android export process.fhuya
2019-06-21Fix some keyboards not working with Androidlawnjelly
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.
2019-05-30Setup Godot to support the Oculus Mobile SDK.fhuya
2019-05-28Android: Include Joysticks/Gamepads which are available on app start.wombatstampede
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-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-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-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-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