summaryrefslogtreecommitdiff
path: root/platform/android/java/src
AgeCommit message (Collapse)Author
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
2016-06-24Fix Android sensors polling rate on resumeGeorge Marques
Fix #5306
2016-06-25Remove duplicated aidl for androidvolzhs
Tested IAP function on device.
2016-06-21correct current Intent for androidvolzhs
2016-06-18Add missing license headers in our source files (#5255)Rémi Verschelde
Also removes a couple wrong Godot headers from third-party source files.
2016-06-07Merge pull request #4729 from volzhs/android-23Rémi Verschelde
Supporting Android API 23 (Android 6.0)
2016-05-27Add magnetometer sensor support for Androidfluffrabbit
2016-05-25Add comments for NotificationCompat to support API < 16volzhs
2016-05-24fix compatibility for Android API 14 with supporting API 23volzhs
using ``NotificationCompat`` in ``support-v4`` library will increase APK filesize a little bit, but it guarantees to run OK with API 4+ tested with API 19 and 23 devices
2016-05-20Supporting Android API 23 (Android 6.0)volzhs
If we update build gradle to use ``compileSdkVersion 23``, ``org.apache.http`` package causes error. (issue #4711) We need to use ``useLibrary 'org.apache.http.legacy'`` to solve this problem. To use ``useLibrary``, we need to use latest gradle also. And now, we faced another problem with ``APK Expansion`` java sources. ``` /platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloadNotification.java 137 : mCurrentNotification.setLatestEventInfo(mContext, mCurrentTitle, mCurrentText, mContentIntent); // causes error ``` So, some of APK Expansion java sources are updated by referencing commits from https://github.com/danikula/Google-Play-Expansion-File And dropped V3CustomNotification.java which was for android 3.0, since godot supports android 14 (4.0) above officially. Unfortunately, another problem, The 'MissingTranslation' error was occurred. So, build.gradle is updated to use ``disable 'MissingTranslation'`` Additionally, I updated ``buildToolsVersion``, ``targetSdkVersion`` to latest version. I tested APK Expansion funtionality on Android 6.0 (Nexus 9, Nexus 6p) and Android 4.4 (Galaxy Note 2) with Google Developer console.
2016-01-24support gamepad remapping on androidhondres
2016-01-16Add ability to set "keep screen on" for androidvolzhs
2016-01-11Update copyright in remaining files + prints in the UIRémi Verschelde
2016-01-08Renamed godot domain from com.android.godot (which was incorrect) to ↵Juan Linietsky
org.godotengine.godot
2016-01-08-Removed ANT build system for Android, as it was deprecated by GoogleJuan Linietsky
-Added new Gradle build system, as it is the required build system
2016-01-01Update copyright to 2016 in headersGeorge Marques