summaryrefslogtreecommitdiff
path: root/platform/android/java/src
AgeCommit message (Collapse)Author
2018-09-27Add support for onRequestPermissionsResult()FeralBytes
Credit goes to @vanyasem https://github.com/vanyasem/Godot-AndroidPermissions But this is a much needed feature to support Android beyond API 21. Fixed style errors again.
2018-09-05Add clipboard operation for android OSXavier Sellier
2018-07-18Style: Format code with clang-format 6.0.1Rémi Verschelde
2018-07-17Fix keep screen on property path for Android/iOS/UWPvolzhs
2018-06-27Fix possible NullPointerException crash on cancel paymentKonstantin Zaitsev
2018-06-26Implement OpenGL ES rasterizer selection logic for Android.geequlim
2018-05-09Remove android compatibility under API 16volzhs
2018-04-19Provide error details when in-app purchase failsRuslan Mustakov
2018-04-16Fix Android input source checksRuslan Mustakov
Input source types are not pure bit flags, they are combinations of flags, so != 0 check was incorrect and resulted in crashes later, when trying to obtain the device.
2018-02-18Remove some debugging prints on AndroidHugo Locurcio
2018-02-14Add signals and a check function for Android service connectivity.Xavier Sellier
- Add a iap_connect and iap_disconnect events for android platform. - Add isConnected() function returning true if its connected to android service, false otherwise (cherry picked from commit 546b48813f2b75481d846957275f6d4eecd8de3c)
2018-02-13Fix broken APK expansion due to missed option renamesRémi Verschelde
Command line options were refactored for 3.0 to follow the common usage of double-dashed long options, but `--main-pack` went through the cracks. Fixes #16533.
2018-01-17Fix Android onTextChanged crashRuslan Mustakov
As it turns out, onTextChanged supplies a mutable CharSequence, which lead to crashes or unexpected behaviour when input was coming faster than it was processed.
2018-01-07Fix Android multi touchvolzhs
Fix #11798
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-10Style: Apply clang-format to Java filesRémi Verschelde
Only those from org/godotengine/godot though, not the thirdparty ones.
2017-12-05Improve slang, especially in user-visible partsUnknown
2017-11-11Align sensors and implement gravity sensor for AndroidBastiaan Olij
2017-10-15export onBackPress for Android ModuleRamesh Ravone
2017-10-10Merge pull request #11775 from endragor/android-keyboard-inputAndreas Haas
Improve input handling on Android
2017-10-04Allow to obtain virtual keyboard heightRuslan Mustakov
On mobile platforms virtual keyboards take up significant amount of screen space and UI containing a text box may need to be adjusted after the keyboard appears to keep the text box visible to user. This commit adds a way to obtain virtual keyabord height so that controls are aware of how much they need to move.
2017-10-04Improve input handling on AndroidRuslan Mustakov
- Dispatch input immediately as it comes, instead of delaying it to the next step(). - Fix text box input handling when caret is at the middle of the text. - Minimize queueEvent calls on Java side.
2017-09-21Fix TrustManager for Androidvolzhs
2017-08-30Make GDNative work on AndroidRuslan Mustakov
The changes include work done to ensure that GDNative apps and Nim integration specifically can run on Android. The changes have been tested on our WIP game, which uses godot-nim and depends on several third-party .so libs, and Platformer demo to ensure nothing got broken. - .so libraries are exported to lib/ folder in .apk, instead of assets/, because that's where Android expects them to be and it resolves the library name into "lib/<ABI>/<name>", where <ABI> is the ABI matching the current device. So we establish the convention that Android .so files in the project must be located in the folder corresponding to the ABI they were compiled for. - Godot callbacks (event handlers) are now called from the same thread from which Main::iteration is called. It is also what Godot now considers to be the main thread, because Main::setup is also called from there. This makes threading on Android more consistent with other platforms, making the code that depends on Thread::get_main_id more portable (GDNative has such code). - Sizes of GDNative API types have been fixed to work on 32-bit platforms.
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-23fix UnsatisfiedLinkError when quittingHenrik Andersson
2017-08-21Fixes for new two-dash long command line argumentsRémi Verschelde
- Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping - Cleanup obsolete code here and there
2017-08-19Revert "Second take at making command-line arguments more UNIX-like + ↵Juan Linietsky
main.cpp and help cleanup"
2017-08-19Fixes for new two-dash long command line argumentsRémi Verschelde
- Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Cleanup obsolete code here and there
2017-07-17-Reorganized all properties of project settings (Sorry, Again).Juan Linietsky
(Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-05-19Fix android payment logical errorvolzhs
getting sku detail runs only if mod != 0 which means querying 20*n will not get sku details. referenced from https://github.com/googlesamples/android-play-billing/blob/master/TrivialDrive/app/src/main/java/com/example/android/trivialdrivesample/util/IabHelper.java#L1029-L1062
2017-05-12Merge pull request #8723 from volzhs/fix-android-masterRémi Verschelde
Fix possible memory leak for Android and update gradle
2017-05-12Fix possible memory leak for Androidvolzhs
/godot_dev/platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloaderService.java:575: Error: The WIFI_SERVICE must be looked up on the Application context or memory will leak on devices < Android N. Try changing to .getApplicationContext() [WifiManagerLeak] mWifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Explanation for issues of type "WifiManagerLeak": On versions prior to Android N (24), initializing the WifiManager via Context#getSystemService can cause a memory leak if the context is not the application context. Change context.getSystemService(...) to context.getApplicationContext().getSystemService(...). 1 errors, 0 warnings
2017-05-07Improve documentation of thirdparty code snippetsRémi Verschelde
2017-04-26Fix error or download again if use obb for Androidvolzhs
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-23Several fixes to Android exporter and port.Juan Linietsky
Android seems to be working again!
2017-03-04Fix handling input for Androidvolzhs
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-11Added a BACK notification besides QUIT, so they go in separate channels.Juan Linietsky
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-11-28Add alert window on Androidvolzhs
2016-11-09Fix Directory.dir_exist/get_current_dir for 'res://' on Androidvolzhs
Fix #7014
2016-07-24Merge pull request #5415 from volzhs/improve-android-paymentJuan Linietsky
Improve android payment
2016-07-20Implement get_screen_dpi() on AndroidMario Schlack
2016-07-18Add querying details of IAP items for androidvolzhs
2016-07-18Fix can't get all info if user purchases many items and not consumedvolzhs
2016-07-16Added gyroscope support to Godot and AndroidJamil Halabi