godot/platform/android
melquiadess 70ea3e22a6 Use ?. (and ?.let) safe operators instead of !!
This PR prevents potential NPEs, and follows Kotlin conventions more closely
by replacing the unsafe !! operator with safe ?. (or ?.let) (usually
!! would only be used very rarely, and with a good reason - there is one
place left in this PR where !! makes sense), and by replacing Java style
'if (x != null)' with Kotlin's '?.'
2024-03-28 23:36:38 +00:00
..
api Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
doc_classes [Docs] Fix some experimental/deprecated hints 2024-02-23 19:48:53 +01:00
export Fix gdextensionlibs.json storage path in Android gradle build 2024-03-17 01:11:36 +08:00
java Use ?. (and ?.let) safe operators instead of !! 2024-03-28 23:36:38 +00:00
plugin Godot Android plugin re-architecture 2023-09-03 17:04:10 -07:00
android_input_handler.cpp Add screen-related attributes to mouse input events 2024-02-05 23:30:15 +01:00
android_input_handler.h Android stylus pressure and tilt support 2023-08-15 19:55:17 +12:00
android_keys_utils.cpp Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
android_keys_utils.h Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
audio_driver_opensl.cpp Fix issue causing the Android editor to crash when creating a new AudioStreamMicrophone 2023-05-31 00:58:27 -07:00
audio_driver_opensl.h Further refactoring to AudioDriver implementations after #69120. 2023-02-09 11:02:00 +01:00
detect.py Merge pull request #88245 from shana/simplify-mono-support-detection 2024-02-19 00:08:07 +01:00
dir_access_jandroid.cpp Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
dir_access_jandroid.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
display_server_android.cpp [DisplayServer] Add separate feature flags for different native dialog types. 2024-03-26 15:18:06 +02:00
display_server_android.h Move global_menu_* methods to a separate NativeMenu class. 2024-03-04 23:41:41 +02:00
file_access_android.cpp Use platform-specific methods for FileAccess reading and writing 2023-10-29 17:34:18 +01:00
file_access_android.h Use platform-specific methods for FileAccess reading and writing 2023-10-29 17:34:18 +01:00
file_access_filesystem_jandroid.cpp Use platform-specific methods for FileAccess reading and writing 2023-10-29 17:34:18 +01:00
file_access_filesystem_jandroid.h Use platform-specific methods for FileAccess reading and writing 2023-10-29 17:34:18 +01:00
java_class_wrapper.cpp Fix expected argument count for Callable call errors 2023-09-29 20:00:10 +03:00
java_godot_io_wrapper.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
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 Fix EXIT_SUCCESS on Android 2024-03-25 17:50:02 +01:00
java_godot_lib_jni.h Add method to get "base" system UI color (macOS/Windows) and system theme change callback. 2024-02-13 18:38:53 +02:00
java_godot_view_wrapper.cpp Improve touchpad and mouse support for the Android editor 2023-05-25 20:27:04 -07:00
java_godot_view_wrapper.h Codestyle: Fix some comment issues 2023-11-21 15:26:53 +01:00
java_godot_wrapper.cpp Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
java_godot_wrapper.h Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
jni_utils.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
jni_utils.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
net_socket_android.cpp Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
net_socket_android.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
os_android.cpp Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
os_android.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
platform_config.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
platform_gl.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
README.md Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
rendering_context_driver_vulkan_android.cpp Finish splitting functionality of the Vulkan and D3D12 backends into RenderingDeviceDriver. 2024-02-12 10:02:18 -03:00
rendering_context_driver_vulkan_android.h Finish splitting functionality of the Vulkan and D3D12 backends into RenderingDeviceDriver. 2024-02-12 10:02:18 -03:00
SCsub Finish splitting functionality of the Vulkan and D3D12 backends into RenderingDeviceDriver. 2024-02-12 10:02:18 -03: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 One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
tts_android.cpp [Drivers,Platform] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-12 20:13:32 +02:00
tts_android.h Add audio/general/text_to_speech project setting to enable/disable TTS. 2023-05-18 20:16:03 +03: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.