godot/platform/android
Juan Linietsky a37c30dfc9 Fix thread IDs.
On Linux, thread IDs were not properly assigned with the current approach.
The line:
`std::thread new_thread(&Thread::callback, _thread_id_hash(thread.get_id()), p_settings, p_callback, p_user);`
does not work because the thread ID is not assigned until the thread starts.

This PR changes the behavior to use manually generated thread IDs. Additionally, if a thread is (or may have been created) outside Godot, the method `Thread::attach_external_thread` was added.
2023-04-24 15:13:58 +02:00
..
api
doc_classes [Export docs] Move docs to platform folders. 2023-04-20 11:02:12 +03:00
export Fix thread IDs. 2023-04-24 15:13:58 +02:00
java Downgrade android gradle plugin to version 7.2.1. 2023-04-21 14:34:07 -07:00
plugin
vulkan
android_input_handler.cpp
android_input_handler.h
android_keys_utils.cpp
android_keys_utils.h
audio_driver_opensl.cpp
audio_driver_opensl.h
detect.py [Export docs] Move docs to platform folders. 2023-04-20 11:02:12 +03:00
dir_access_jandroid.cpp
dir_access_jandroid.h
display_server_android.cpp
display_server_android.h
file_access_android.cpp
file_access_android.h
file_access_filesystem_jandroid.cpp
file_access_filesystem_jandroid.h
java_class_wrapper.cpp
java_godot_io_wrapper.cpp
java_godot_io_wrapper.h
java_godot_lib_jni.cpp Fix thread IDs. 2023-04-24 15:13:58 +02:00
java_godot_lib_jni.h
java_godot_view_wrapper.cpp
java_godot_view_wrapper.h
java_godot_wrapper.cpp
java_godot_wrapper.h
jni_utils.cpp
jni_utils.h
logo.svg
net_socket_android.cpp
net_socket_android.h
os_android.cpp
os_android.h
platform_config.h
README.md
run_icon.svg
SCsub
string_android.h
thread_jandroid.cpp
thread_jandroid.h
tts_android.cpp
tts_android.h Windows TTS: Use HashMap instead of RBMap for ids 2023-04-11 15:54:21 +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.