summaryrefslogtreecommitdiff
path: root/platform/android/java/lib
AgeCommit message (Collapse)Author
2019-10-22Add request permission automatically at androidCagdas
2019-10-22Merge pull request #32858 from m4gr3d/expand_singleton_base_apiRémi Verschelde
Add `View SingletonBase#onMainCreateView(Activity activity)` api
2019-10-18Add `View onMainCreateView(Activity activity)` api to the ↵Fredia Huya-Kouadio
`Godot.SingletonBase` class. The new api allows plugins to define and provide their views for inclusion in the Godot Android view hierarchy.
2019-10-12Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio
2019-10-04Adds Pen support for AndroidAlexander Holland
2019-09-24Merge pull request #32269 from m4gr3d/improve_build_timeRémi Verschelde
Update the Godot gradle build tasks to provide additional flexibility
2019-09-24Updates the Godot gradle tasks to enable manual runs of the `scons` command.fhuya
Example: To generate for the `release` build target and for the `armv7`, `arm64v8` and `x86` architectures, run the commands: ``` cd godot scons -j4 platform=android target=release android_arch=armv7 scons -j4 platform=android target=release android_arch=arm64v8 scons -j4 platform=android target=release android_arch=x86 cd platform/android/java ./gradlew generateGodotTemplates ``` Notes: - The generated build templates will be located in the `godot/bin` directory (i.e: `android_debug.apk`, `android_release.apk`, `android_source.zip`). - The gradle command will only generate templates for the target(s) with available native shared libraries. For example, running the commands above will only generate the `android_release.apk` and `android_source.zip` files. To delete the generated artifacts, the following commands can be used: ``` cd platform/android/java ./gradlew cleanGodotTemplates ```
2019-09-23Merge pull request #32250 from lawnjelly/android-keyboard2Rémi Verschelde
Fix Android keyboard crash with left cursor
2019-09-23Fix Android keyboard crash with left cursorlawnjelly
Fixes #32168. Previously we were returning all key up and key down messages as unhandled to the OS. This was resulting in crashes on certain keypresses (left cursor), for undetermined reason. This PR defaults all key up and keydown messages to be returned as handled by Godot, except those explicitly coded as exceptions (currently volume keys only).
2019-09-19Add new events and accompanying logic to notify when the app is paused and ↵fhuya
resumed on Android devices.
2019-09-04Split the Android platform java logic into an Android library module (`lib`) ↵fhuya
and an application module (`app`). The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').