Fredia Huya-Kouadio
faaec47d54
Upgrade Android gradle plugin to version 7.2.1
...
(cherry picked from commit 151233b702
)
2022-12-12 14:45:38 +01:00
Fredia Huya-Kouadio
05cb89855e
Update the `clean` task configuration
...
Running `gradlew clean` will now properly delete the generated build artifacts
(cherry picked from commit 71c76a4ff2
)
2022-12-05 09:28:00 +08:00
Jason Knight
f5b2f77111
Fix null in android keyboard handling.
...
(cherry picked from commit 31fe6848e8
)
2022-12-05 09:22:16 +08:00
Fredia Huya-Kouadio
a7a8f9c85d
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.
(cherry picked from commit 30479543b0
)
2022-08-29 17:07:44 +02:00
Fredia Huya-Kouadio
fc2c202312
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
2022-07-26 07:42:49 -07:00
Fredia Huya-Kouadio
27b63247fd
Fix issue causing the Android Editor port to crash when saving a scene
...
In addition:
- Disable 'adb devices' query (not supported when running the editor on Android devices
- Add `move_to_trash` implementation for Android devices
2022-07-05 02:59:52 -07:00
Fredia Huya-Kouadio
0abc4ad129
Fix the directory copy bug issue
...
The issue was caused by a logic bug causing end of file to be reported for empty files.
2022-07-04 12:56:53 -07:00
ne0fhyk
24e3b3b88d
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.
2022-06-26 16:53:02 -07:00
Rémi Verschelde
98b4a7c2da
Merge pull request #61692 from madmiraal/android-ndk-23-3.x
...
[3.x] Upgrade Android NDK to r23 LTS
2022-06-26 21:24:14 +02:00
Rémi Verschelde
af4e3cb931
Merge pull request #62290 from madmiraal/fix-61816-3.x
...
[3.x] Remove broken scroll gesture on Android
2022-06-26 08:38:08 +02:00
Marcel Admiraal
061c280873
Upgrade Android NDK to r23 LTS
2022-06-25 16:02:19 +01:00
Gustavo Maciel
a38119a746
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
(cherry picked from commit ec6d5d6cba
)
2022-06-23 15:59:15 +02:00
Marcel Admiraal
9091309ab7
Remove broken scroll gesture on Android
2022-06-21 17:04:42 +01:00
Marcel Admiraal
50bf882fcc
Ensure joystick has been added or not already removed when processing input
...
(cherry picked from commit 806e7d18d1
)
2022-06-16 20:47:49 +02:00
Fredia Huya-Kouadio
5946b4bdc6
Migrate the Godot Editor java source file to Kotlin.
...
(cherry picked from commit 6b9a81900e
)
2022-06-10 10:25:37 +02:00
Fredia Huya-Kouadio
05fc140ee6
Misc editor tweaks and polishes:
...
- Using a bucketized approach to select the editor scale in order to avoid too high values
- Add default app dimensions: used on Android devices with free floating app windows to set the default app frame
- Add ability to launch the Game window in an adjacent frame when in multi window mode
(cherry picked from commit 6f7ec7f723
)
2022-06-08 10:11:28 +02:00
Marcel Admiraal
9f0dba8b65
Ensure Android Java and Kotlin compile to the same version
2022-06-01 16:24:12 +01:00
Marcel Admiraal
caaaef68b4
Only use Android fullscreen theme for splash screen
...
(cherry picked from commit d0cb299f04
)
2022-06-01 00:29:46 +02:00
Marcel Admiraal
b66b153b8c
Remove duplicate Android sensor listener registrations
...
(cherry picked from commit cf0f967e6d
)
2022-05-24 00:06:20 +02:00
Fredia Huya-Kouadio
b162e7ac39
Fix the logic to restart the Godot application
2022-05-23 13:15:25 -07:00
Marcel Admiraal
fe60de2c6a
Check for null when retrieving clip data item text on Android
...
(cherry picked from commit 5924e2b90e
)
2022-05-05 13:44:00 +02:00
Rémi Verschelde
917a749964
Merge pull request #60639 from m4gr3d/support_hand_tracking_v2_3x
2022-05-02 09:51:35 +02:00
Rémi Verschelde
d8e702b010
Merge pull request #60552 from madmiraal/implement-3466-3.x
...
[3.x] Add a method for obtaining display cutouts on Android
2022-05-02 07:58:05 +02:00
Fredy Huya-Kouadio
32ace78a3e
Update Meta hand tracking version
...
https://developer.oculus.com/blog/presence-platforms-hand-tracking-api-gets-an-upgrade/
2022-04-27 21:14:49 -07:00
Marcel Admiraal
9a4d4ec2d5
Remove superfluous null check
...
(cherry picked from commit 988432b8bb
)
2022-04-27 12:25:58 +02:00
Marcel Admiraal
76b5c31433
Replace index iterators with for each loops.
...
(cherry picked from commit 334ebd7eb7
)
2022-04-27 12:25:47 +02:00
Marcel Admiraal
23b649b673
Remove superfluous check for minimum Android SDK.
...
(cherry picked from commit 2f225bf2c5
)
2022-04-27 12:25:34 +02:00
Marcel Admiraal
ec2270b88f
Add a method for obtaining display cutouts on Android
2022-04-26 13:52:33 +02:00
Marcel Admiraal
b5402818d7
Remove superfluous Android InputManager interface and implementation
2022-04-22 19:10:01 +02:00
Fredia Huya-Kouadio
4ff726b933
Update `resize` settings:
...
- Unlock resizing for the Godot Editor
- Add an option to specify whether a game is resizeable for the Godot template
(cherry picked from commit 3f299e9255
)
2022-04-13 11:43:49 +02:00
Fredia Huya-Kouadio
3ba0508f79
Update the editor display scale based on the device's scaled density
2022-04-04 04:18:56 -07:00
Fredia Huya-Kouadio
8ca32d1727
Fix flickering issues with low processor mode on Android
2022-03-29 12:17:25 -07:00
Fredy Huya-Kouadio
6f2442b17a
Cleanup the gradle build configuration
...
These changes resolve the inconsistency between gradle and scons targets by configuring the gradle buildtypes to match the scons targets.
2022-03-28 08:12:55 -07:00
Fredy Huya-Kouadio
cb0b2aefc3
Android port of the Godot Editor
...
These set of changes focus primarily on getting the core logic and overall Godot Editor UI and functionality up and running natively on Android devices.
UI tweaks / cleanup / polish, as well configuration for Android specific functionality / restrictions will be addressed in follow-up PRs iteratively based on feedback.
Co-authored-by: thebestnom <shoval.arad@gmail.com>
2022-03-28 07:54:10 -07:00
Fredia Huya-Kouadio
b8178a7f0a
Setup logic to publish the Godot Android library to MavenCentral
...
(cherry picked from commit a2bf47de2b
)
2022-03-17 14:45:19 +01:00
Hugo Locurcio
cec7c908ca
Add `get_screen_refresh_rate()` to OS
...
This method can be used to get the refresh rate of a given screen.
It is supported on Windows, macOS, Linux, Android and iOS (but not
HTML5).
2022-03-10 22:10:48 +01:00
Fredia Huya-Kouadio
5deeb38a70
Fix XR Android manifest metadata
...
- Adds the parameters for supported Meta devices, which is required to access some device specific capabilities
- Remove the 'com.samsung.android.vr.application.mode' metadata when we're not using the VrApi plugin
2022-01-26 08:58:47 -08:00
Haoyu Qiu
76297e744d
Add `OS.has_clipboard()` to check clipboard content
2022-01-19 20:19:06 +08:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
ne0fhyk
0448d4e26e
Fix Android Studio builds.
...
(cherry picked from commit 1345e66935
)
2022-01-06 00:24:42 +01:00
Marcel Admiraal
b5d325e6ff
Only rotate Android sensor values for sensors that need them rotated
2021-12-15 18:15:25 +00:00
Rémi Verschelde
45aac0b9e9
Merge pull request #55768 from m4gr3d/config_hand_tracking_frequency_3x
2021-12-09 23:05:06 +01:00
Fredia Huya-Kouadio
4f6ce8a7ba
Enable configuration of the `android:excludeFromRecents` activity attribute.
...
(cherry picked from commit cfa81ff32a
)
2021-12-09 23:03:19 +01:00
ne0fhyk
9d22ad3c9b
Add support for configuring the xr hand tracking frequency mode
2021-12-09 12:26:06 -08:00
Fredia Huya-Kouadio
65cfa28cce
Add configs to specify the min and target sdk versions.
2021-12-08 09:06:09 -08:00
Rémi Verschelde
451bba967a
Merge pull request #55158 from m4gr3d/add_oculus_openxr_config_3x
2021-11-22 10:29:49 +01:00
Marcel Admiraal
05744ee0e2
Fix Android `get_screen_orientation()` not returning valid values
2021-11-21 12:14:29 +00:00
Fredia Huya-Kouadio
9c50bcabed
Add support for OpenXR export configurations.
2021-11-20 06:59:36 -08:00
Pedro J. Estébanez
4f8bc77a4c
Drop broken Android 32-bit framebuffer setting
2021-11-15 10:44:41 +01:00
Pedro J. Estébanez
abdf931832
Add off-screen GL context
2021-11-09 12:19:12 +01:00