godot/platform/android
Fredia Huya-Kouadio d17811c814 Re-architect how Android plugins are packaged and handled at export time
The previous packaging format for Godot Android plugins consisted of the plugin's `gdap` config file accompanied by binaries defined in the `gdap` file.
This format is now deprecated (starting with Godot 4.2), and instead Godot Android plugins are now packaged as `EditorExportPlugin` plugins.

The `EditorExportPlugin` class has been updated with the following methods to provide the necessary set of functionality:
- `_supports_platform`: returns true if the plugin supports the given platform
- `_get_android_dependencies`: retrieve the set of android dependencies (e.g: `org.godot.example:my-plugin:0.0.0`) provided by the plugin
- `_get_android_dependencies_maven_repos`: retrieve the urls of the maven repos for the provided android dependencies
- `_get_android_libraries`: retrieve the local paths of the android libraries (AAR files) provided by the plugin
- `_get_android_manifest_activity_element_contents`: update the contents of the `<activity>` element in the generated Android manifest
- `_get_android_manifest_application_element_contents`: update the contents of the `<application>` element in the generated Android manifest
- `_get_android_manifest_element_contents`: update the contents of the `<manifest>` element in the generated Android manifest
2023-07-18 19:14:53 +02:00
..
api Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
doc_classes Merge pull request #78164 from 0xafbf/allow-export-tv-and-launcher 2023-07-14 18:48:54 +02:00
export Re-architect how Android plugins are packaged and handled at export time 2023-07-18 19:14:53 +02:00
java Godot Android re-architecture 2023-07-16 18:56:58 -07:00
plugin Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
android_input_handler.cpp Merge pull request #78538 from Sauermann/fix-code-simplifications 2023-07-12 15:09:26 +02:00
android_input_handler.h [Android] Set echo property for the physical keyboard events. 2023-07-06 09:53:50 +03:00
android_keys_utils.cpp
android_keys_utils.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
audio_driver_opensl.cpp
audio_driver_opensl.h
detect.py SCons: Move platform logo/run icon to export folder 2023-06-20 13:16:37 +02:00
dir_access_jandroid.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
dir_access_jandroid.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
display_server_android.cpp [DisplayServer] Add method to check if native window is focused. 2023-06-16 10:27:52 +03:00
display_server_android.h [DisplayServer] Add method to check if native window is focused. 2023-06-16 10:27:52 +03:00
file_access_android.cpp
file_access_android.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
file_access_filesystem_jandroid.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
file_access_filesystem_jandroid.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
java_class_wrapper.cpp
java_godot_io_wrapper.cpp
java_godot_io_wrapper.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
java_godot_lib_jni.cpp Godot Android re-architecture 2023-07-16 18:56:58 -07:00
java_godot_lib_jni.h [Android] Set echo property for the physical keyboard events. 2023-07-06 09:53:50 +03:00
java_godot_view_wrapper.cpp
java_godot_view_wrapper.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
java_godot_wrapper.cpp Godot Android re-architecture 2023-07-16 18:56:58 -07:00
java_godot_wrapper.h Godot Android re-architecture 2023-07-16 18:56:58 -07:00
jni_utils.cpp
jni_utils.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
net_socket_android.cpp
net_socket_android.h
os_android.cpp Fix formatting of dlopen error message on Windows 2023-07-09 23:39:45 +02:00
os_android.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
platform_config.h
README.md
SCsub Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
string_android.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
thread_jandroid.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
thread_jandroid.h
tts_android.cpp
tts_android.h
vulkan_context_android.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
vulkan_context_android.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00

Android platform port

This folder contains the Java and C++ (JNI) code for the Android platform port, using Gradle as a build system.

Documentation

Artwork license

logo.png and run_icon.png are licensed under Creative Commons Attribution 3.0 Unported per the Android logo usage guidelines:

The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.