ae92596f9b
Ported: Add parameters for the Godot Activity starting intent to allow restarting or force-quitting the engine
...
Follow-up code cleanup for #78130
- m4gr3d
5cf0ba88e3
2023-06-28 18:58:29 +02:00
556ffc09f7
Ported from godot: Fix issue causing the last edited project to open while switching to another one.
...
Fixes #76562
-m4gr3d
ee07f60b07
2023-06-28 13:16:58 +02:00
e79ea9f3a8
Ported form godot: Fix spatial viewport multitouch detection support
...
Regression introduced by #77497
- m4gr3d
8f44765831
2023-06-28 12:50:27 +02:00
c978f27634
Implemented switching between the running game and the editor in the android editor.
2023-06-15 10:21:23 +02:00
dbbfcdd526
Ported: Fix issue causing the Android editor to crash when creating a new AudioStreamMicrophone
...
Fixes #73801
- m4gr3d
9c334fa242
2023-06-11 13:40:47 +02:00
d7499a0868
Ported: Improve touchpad and mouse support for the Android editor
...
- m4gr3d
ccd36e0dbe
2023-06-11 13:29:53 +02:00
d6f5dd35e8
Ported: Enable granular control of touchscreen related settings
...
- m4gr3d
61e41facc7
2023-06-11 12:57:25 +02:00
ca982ac507
Ported: Add benchmark logic
...
Add benchmarking measuring methods to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
- m4gr3d
Also contains some mouse pointer improvements.
2023-05-01 15:32:01 +02:00
e32e0af40f
Ported: Fix null in android text entry system.
...
- jasonwinterpixel
cec8e09948
2023-04-20 23:46:17 +02:00
6bba08c00b
Ported: Bump the target SDK version to 33 (Android 13)
...
- m4gr3d
2803c471e8
2023-04-15 11:15:16 +02:00
76f9237411
Ported: Fix directory access when the running app has the All files access permission
...
- m4gr3d
e2c7d3e6c0
2023-04-15 11:11:29 +02:00
9fb30c4441
Ported: Use the new API for virtual keyboard height detection on Android, bugfix .
...
- necrashter
9bdb585318
2023-03-12 15:26:58 +01:00
e9c3603024
Fix an another typo.
2023-02-07 09:46:51 +01:00
fdd62f1d9a
Fix typo.
2023-02-07 08:55:00 +01:00
de642e971d
Ported: Implement file provider capabilities. The previously used file sharing api was restricted after Android N causing the engine to crash whenever used on devices running Android N or higher.
...
- m4gr3d
b04c9a71f4
2023-02-07 02:58:31 +01:00
e6248b33ab
Ported: Provide a delegate implementation for the killProcess logic on Android
...
The implementation forwards the kill request to the Godot host for handling. If the Godot host is unable to handle the request, it falls back to the `OS_Unix::kill(...)` implementation.
- m4gr3d
48a55ffad3
2023-02-07 02:44:47 +01:00
2e7ee5cef6
Ported: Update the logic to calculate the screen scale on Android
...
Takes into account the ratio between the screen size and the default window dimensions.
- m4gr3d
48aedb239e
2023-02-07 02:22:44 +01:00
7b0a6b3da8
More fixes.
2023-01-16 01:55:43 +01:00
ee1a7ad8ce
Fixed more typos.
2023-01-16 01:22:29 +01:00
2cd4e4d828
Renamed Set to RBSet.
2023-01-15 19:42:08 +01:00
1b0aac6028
Renamed Map to RBMap.
2023-01-15 19:12:50 +01:00
faf7b1573f
Fix warnings.
2022-12-31 16:02:27 +01:00
213f393293
Fix typos with codespell.
2022-12-22 19:51:25 +01:00
9f9113c1b2
Ported: Upgrade Android gradle plugin to version 7.2.1 - m4gr3d
...
de45636fd3
2022-12-22 17:48:33 +01:00
Dennis Ranke
6c85c2389b
handle ambiguous input events as touch events
...
there can be events can have both SOURCE_TOUCHSCREEN and SOURCE_STYLUS. handle them as touch events rather than mouse events.
(cherry picked from commit 408000752cb39f93b2639fdeefb783e4dd76910f)
2022-12-22 13:56:16 +01:00
ba39fa8970
Ported: Fix incorrect Android scancodes - madmiraal
...
Also ported: Fix wrong android key mapping.
Fixes the wrong mapping of `Key::HOME`. Androids `KEYCODE_HOME` is in fact the hardware home button the right mapping is `KEYCODE_MOVE_HOME`.
Also adds mappings to keys that were not present before.
- HolonProduction
2f7de4c8ed
477d24b6d1
2022-11-30 18:58:00 +01:00
d0bb264cc2
Ported: Fix parsing of the keep_screen_on display setting.
...
- m4gr3d
d08e057194
2022-11-30 18:44:51 +01:00
a3f2631d59
Ported: Add double_tap attribute to InputEventScreenTouch
...
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
- m4gr3d
be4b07c3e4
2022-11-13 01:29:17 +01:00
db926ddd0c
Ported: Add support for pointer capture - m4gr3d
...
5149311316
2022-11-13 01:13:22 +01:00
078f558a1a
Fix an another typo.
2022-10-08 19:11:36 +02:00
d8a48e51bd
Ported: Add cursor shape support for the Android platform - m4gr3d
...
46f091a803 (diff-654c896c53f1fe1db3c63e1f0409d7929b54f1e4e43b49b21a0a4eba4f945c15)
2022-10-08 19:03:10 +02:00
35249df651
Ported: Fix null in android keyboard handling.
...
- jasonwinterpixel
31fe6848e8
2022-10-08 18:32:02 +02:00
42a9dc5e8d
Fixed the android editor, now it can open projects again. Also smaller codestyle fixes.
2022-09-17 21:27:19 +02:00
6b9e851e5c
Ported: Fix issue causing the project manager to crash because of missing path argument
...
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
- m4gr3d
4be7c91cd9
2022-09-17 17:27:50 +02:00
6e97e0c485
Fix android build.
2022-09-17 17:14:19 +02:00
0bb6a05a4e
Removed now unneeded classes.
2022-09-17 16:35:58 +02:00
e8625c21fe
Small improvements to the android platform.
2022-09-17 16:31:49 +02:00
554cf8c861
Fix android build.
2022-09-17 12:30:19 +02:00
ccba47dc7c
Ported: Cleanup the Android input logic implementation - m4gr3d
...
440fa10246
2022-09-17 11:35:25 +02:00
b2e5cd5f2c
Fix an another compile error.
2022-08-19 16:54:20 +02:00
58da70524b
Ported: Add support for multiple virtual keyboard types - brianwinterpixel
...
ce24b48e50
2022-08-19 16:18:53 +02:00
54c49a25a0
Ported: Fix issue preventing the Android Editor from displaying the project content
...
The issue was causing by a bug within the logic for `FileAccessFilesystemJAndroid#eof_reached()` causing that value to remain false after the eof was reached.
This in turn caused an infinite loop in the file scanner preventing the project's content from showing up.
-m4gr3d
30479543b0
2022-08-19 02:23:57 +02:00
a917d1bed4
Ported: Address remaining scoped storage regressions
...
- Accelerate common path used to check the storage scope for a given path
- Update the logic for the `get_as_text()` method - previous logic loads the content of a text file one byte at a time
- m4gr3d
fc2c202312
2022-07-29 23:48:31 +02:00
8107f6fea6
Fix an another import.
2022-07-29 21:05:20 +02:00
17f9583dc0
Fix imports.
2022-07-29 20:33:57 +02:00
9d76074b58
Ported: Add full support for Android scoped storage.
...
This was done by refactoring directory and file access handling for the Android platform so that any general filesystem access type go through the Android layer.
This allows us to validate whether the access is unrestricted, or whether it falls under scoped storage and thus act appropriately.
- m4gr3d
24e3b3b88d
2022-07-29 19:24:07 +02:00
fef163cd57
Ported: Update android:targetSdkVersion from 30 to 31
...
Starting in August 2022, new apps will need to target API level 31 (Android 12) or higher and adjust for behavioral changes.
Read more here: https://developer.android.com/google/play/requirements/target-sdk
- gumaciel
a38119a746
2022-07-29 12:07:26 +02:00
845d0771b1
Ported: Remove broken scroll gesture on Android - madmiraal
...
9091309ab7
2022-07-29 11:46:13 +02:00
1e747ac9ba
Ported: Ensure joystick has been added or not already removed when processing input.
...
50bf882fcc
2022-07-29 10:12:37 +02:00
b829fff345
Ported: Ensure Android Java and Kotlin compile to the same version - madmiraal
...
9f0dba8b65
2022-07-29 08:35:59 +02:00