summaryrefslogtreecommitdiff
path: root/platform/android/java
AgeCommit message (Collapse)Author
2023-02-06Improve logic to detect whether vulkan is used for renderingFredia Huya-Kouadio
2023-02-05Improve vulkan capability detection on AndroidFredia Huya-Kouadio
- Add runtime check and abort when the device doesn't meet the requirements for vulkan support - Add filters to the AndroidManifest when exporting with a vulkan renderer
2023-02-01Clean up the XR export logicFredia Huya-Kouadio
Remove the XR export logic from the legacy build system: - On Android, Godot 4 export requires the use of Android plugins which are not supported by the legacy build system - Provides added flexibility for configuring the Android manifest for XR specific capabilities.
2023-02-01More codespell fixes, do more changes from previous ignore listRémi Verschelde
2023-02-01Implement file provider capabilitiesFredia Huya-Kouadio
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.
2023-01-27Update the XR manifest configsFredia Huya-Kouadio
Remove the ones provided automatically by the loaders, and the ones enabled by the default on the platform. Fixes https://github.com/GodotVR/godot_openxr_loaders/issues/19
2023-01-26Merge pull request #72106 from ↵Rémi Verschelde
m4gr3d/fix_godot_android_editor_4_crash_after_running_game Fix the issue causing the Godot Android Editor to crash when returning from the launched and running game
2023-01-26Fix the issue causing the Godot Android Editor to crash when returning from ↵Fredia Huya-Kouadio
the launched and running game The issue was caused because the running game pid was not set, and thus had a value of `0`. When trying to stop the running game, the `EditorRun::stop()` logic would kill the process with pid 0, which on Android corresponds to the running app's own process, thus causing the editor to crash. This issue did not happen on Godot 3 because pid with value of `0` are not considered valid.
2023-01-25Address kotlin build warningsFredia Huya-Kouadio
2023-01-24Merge pull request #71917 from m4gr3d/update_godot_android_editor_labelRémi Verschelde
Update the Godot Android Editor name from `Godot Editor 4.x` to `Godot Editor 4`
2023-01-23Update the Godot Android Editor name from `Godot Editor 4.x` to `Godot ↵Fredia Huya-Kouadio
Editor v4`
2023-01-23Merge pull request #71836 from m4gr3d/fix_godot_editor_cropping_mainRémi Verschelde
Update the logic to calculate the screen scale on Android
2023-01-23Cleanup and unify keyboard input.bruvzg
- Unify keycode values (secondary label printed on a key), remove unused hardcoded Latin-1 codes. - Unify IME behaviour, add inline composition string display on Windows and X11. - Add key_label (localized label printed on a key) value to the key events, and allow mapping actions to the unshifted Unicode events. - Add support for physical keyboard (Bluetooth or Sidecar) handling on iOS. - Add support for media key handling on macOS. Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-22Update the logic to calculate the screen scale on AndroidFredia Huya-Kouadio
Takes into account the ratio between the screen size and the default window dimensions.
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Merge pull request #63483 from qianjunakasumi/qianjunakasumi/masterRémi Verschelde
Introduce `appCategory` attribute of android to set category
2023-01-01 Introduce `appCategory` attribute of android to set category千橘 雫霞
2022-12-16Add boot splash for the Godot Android EditorFredia Huya-Kouadio
2022-12-14Merge pull request #69990 from exoticorn/fix-android-touch-inputFredia Huya-Kouadio
Fix ambiguous touch input events on Android
2022-12-12handle ambiguous input events as touch eventsDennis Ranke
there can be events can have both SOURCE_TOUCHSCREEN and SOURCE_STYLUS. handle them as touch events rather than mouse events.
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-04Use system fonts as fallback and improve system font handling.bruvzg
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
2022-11-30Updating the minimum Android target api for proper Vulkan supportFredia Huya-Kouadio
2022-11-29Enable GLES3 on Androidclayjohn
Add necessary build flags and switch from using a GLES2 context to a GLES3 one. This also enables building for OpenXR Co-authored-by: m4gr3d <fhuyakou@gmail.com> Co-authored-by: dsnopek <dsnopek@gmail.com>
2022-11-27Add missing display server overridesFredia Huya-Kouadio
Improves the base functionality for the Android platform and helps reduce the amount of spurious error logs emitted.
2022-11-17Fix parsing of the `keep_screen_on` display settingFredia Huya-Kouadio
2022-11-17Android: Fix parsing `keep_screen_on` settingRémi Verschelde
Boolean stringification changed in Godot 4.0. Fixes #67034. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-11-16Fix 'save & restart' logic for the Android EditorFredia Huya-Kouadio
2022-11-10Upgrade Android gradle plugin to version 7.2.1Fredia Huya-Kouadio
2022-11-07Small set of fixes to the input logicFredia Huya-Kouadio
2022-10-22Add double_tap attribute to InputEventScreenTouchFredia Huya-Kouadio
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
2022-10-18Delete Android godot-lib with the old naming schemeFredia Huya-Kouadio
Update the `clean` task configuration: running `gradlew clean` will now properly delete the generated build artifacts
2022-10-05Merge pull request #66946 from m4gr3d/cursor_shape_logic_cleanup_mainFredia Huya-Kouadio
Cleanup of the Android cursor shape logic
2022-10-05Cleanup of the Android cursor shape logicFredia Huya-Kouadio
2022-10-05Merge pull request #66941 from winterpixelgames/bugfix-android-null-input-eventFredia Huya-Kouadio
Fix null in android keyboard handling.
2022-10-05Fix null in android keyboard handling.Jason Knight
2022-10-05Fix the gradle build configuration for the Android platform following ↵Fredia Huya-Kouadio
https://github.com/godotengine/godot/pull/66242
2022-09-19Split rendering driver project setting into renderer_name and ↵clayjohn
rendering_driver. To differentiate between a driver (e.g. Vulkan or D3D12) and a renderer (e.g. clustered or mobile renderer).
2022-09-12Exclude small screens from the set of supported devices.Fredia Huya-Kouadio
2022-09-12Update the versioning logic for the Godot Android EditorFredia Huya-Kouadio
This is necessary to separate subsequent uploads to the Google Play store as each upload needs to increment the version code.
2022-09-08Merge pull request #65501 from m4gr3d/fix_invalid_project_manager_path_mainRémi Verschelde
Fix issue causing the project manager to crash because of missing path argument
2022-09-07Fix issue causing the project manager to crash because of missing path argumentFredia Huya-Kouadio
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
2022-09-07Enable long press, pan and scale gestures for the Godot Android EditorFredia Huya-Kouadio
Fix the bug causing the editor to crash when running the project.
2022-09-07Cleanup the Android input logic implementationFredia Huya-Kouadio
2022-08-25Unify bits, arch, and android_arch into env["arch"]Aaron Franke
Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-08-15Fix issue preventing the Android Editor from displaying the project contentFredia Huya-Kouadio
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.
2022-08-08Merge pull request #62885 from madmiraal/fix-59931Rémi Verschelde
2022-08-04Add support for multiple virtual keyboard typesBrian Semrau
2022-07-26Address remaining scoped storage regressionsFredia Huya-Kouadio
- 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