aboutsummaryrefslogtreecommitdiff
path: root/platform/android/java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Align sensors and implement gravity sensor for AndroidBastiaan Olij2017-11-112-3/+11
|
* Convert DOS line endings to Unix line endingsRémi Verschelde2017-11-051-90/+90
| | | | | | | Should fix issues some of us have with `misc/dist/uwp_template/AppxManifest.xml` always showing up as modified. Might cause issues on Windows due to the removal of BOMs or change of line endings in some of the Mono, UWP or gradlew.bat files, we will test and adapt if need be.
* export onBackPress for Android ModuleRamesh Ravone2017-10-152-8/+10
|
* Merge pull request #11775 from endragor/android-keyboard-inputAndreas Haas2017-10-101-52/+21
|\ | | | | Improve input handling on Android
| * Improve input handling on AndroidRuslan Mustakov2017-10-041-52/+21
| | | | | | | | | | | | | | | | | | - 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.
* | Allow to obtain virtual keyboard heightRuslan Mustakov2017-10-042-0/+17
|/ | | | | | | | 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.
* Fix TrustManager for Androidvolzhs2017-09-211-16/+4
|
* Make GDNative work on AndroidRuslan Mustakov2017-08-305-140/+255
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2722-22/+22
|
* fix UnsatisfiedLinkError when quittingHenrik Andersson2017-08-232-2/+2
|
* Fixes for new two-dash long command line argumentsRémi Verschelde2017-08-211-6/+6
| | | | | | | | | - 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
* Revert "Second take at making command-line arguments more UNIX-like + ↵Juan Linietsky2017-08-191-6/+6
| | | | main.cpp and help cleanup"
* Fixes for new two-dash long command line argumentsRémi Verschelde2017-08-191-6/+6
| | | | | | | | - 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
* update gradle-android buildtool for masterISylvox2017-07-304-10/+22
|
* -Reorganized all properties of project settings (Sorry, Again).Juan Linietsky2017-07-171-1/+1
| | | | | (Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
* Merge pull request #8824 from volzhs/android-payment-masterRémi Verschelde2017-05-201-24/+23
|\ | | | | Fix android payment logical error
| * Fix android payment logical errorvolzhs2017-05-191-24/+23
| | | | | | | | | | 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
* | Use new Godot icon consistently everywhereRémi Verschelde2017-05-171-0/+0
|/
* Merge pull request #8723 from volzhs/fix-android-masterRémi Verschelde2017-05-122-4/+5
|\ | | | | Fix possible memory leak for Android and update gradle
| * Update to latest gradlevolzhs2017-05-121-2/+3
| |
| * Fix possible memory leak for Androidvolzhs2017-05-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | /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
* | Improve documentation of thirdparty code snippetsRémi Verschelde2017-05-072-0/+32
|/
* Fix error or download again if use obb for Androidvolzhs2017-04-261-1/+5
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0822-0/+22
|
* Fix typos in source code using codespellRémi Verschelde2017-03-243-3/+3
| | | | From https://github.com/lucasdemarchi/codespell
* Several fixes to Android exporter and port.Juan Linietsky2017-03-232-11/+13
| | | | Android seems to be working again!
* Fix handling input for Androidvolzhs2017-03-041-37/+12
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-1411-66/+74
| | | | | 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.
* Added a BACK notification besides QUIT, so they go in separate channels.Juan Linietsky2017-01-111-1/+1
|
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-0122-22/+22
| | | | | | | | 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!
* Add alert window on Androidvolzhs2016-11-281-0/+19
|
* Fix Directory.dir_exist/get_current_dir for 'res://' on Androidvolzhs2016-11-091-0/+5
| | | | Fix #7014
* Android: Rename values-zh to values-zh-rCN (#6063)Skyfrit2016-08-081-1/+1
|
* Android: Add support for Traditional Chinese (HK) (#6061)Skyfrit2016-08-081-0/+4
|
* Android: Add support for Traditional Chinese (TW) (#6061)Skyfrit2016-08-081-0/+4
|
* Merge pull request #5415 from volzhs/improve-android-paymentJuan Linietsky2016-07-242-190/+313
|\ | | | | Improve android payment
| * Add querying details of IAP items for androidvolzhs2016-07-182-148/+279
| |
| * Fix can't get all info if user purchases many items and not consumedvolzhs2016-07-181-42/+34
| |
* | Implement get_screen_dpi() on AndroidMario Schlack2016-07-201-0/+6
|/
* Added gyroscope support to Godot and AndroidJamil Halabi2016-07-162-0/+8
|
* Make Android build smarter (SCons + Gradle)Pedro J. Estébanez2016-06-271-1/+1
| | | | | | | | Upgrade Gradle and Android plugin for Gradle Disable all signing and zip-aligning for the export templates Give correct names to generated APKs Put .so files built by SCons right where Gradle has to pick them according to arch & build type Downgrade NDK platform to 14 to match minSdkVersion
* Fix Android sensors polling rate on resumeGeorge Marques2016-06-241-2/+2
| | | | Fix #5306
* Remove duplicated aidl for androidvolzhs2016-06-251-144/+0
| | | | Tested IAP function on device.
* Fixed iCCp chunk in pngsJ08nY2016-06-223-0/+0
| | | | neccesary for libpng 1.6.27 to work silently
* Merge pull request #5357 from volzhs/fix-locale-androidRémi Verschelde2016-06-222-0/+0
|\ | | | | fix android resource locale
| * fix android resource localevolzhs2016-06-222-0/+0
| |
* | correct current Intent for androidvolzhs2016-06-211-1/+13
|/
* Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-1818-2/+478
| | | Also removes a couple wrong Godot headers from third-party source files.
* Merge pull request #4729 from volzhs/android-23Rémi Verschelde2016-06-0710-152/+43
|\ | | | | Supporting Android API 23 (Android 6.0)
| * Add comments for NotificationCompat to support API < 16volzhs2016-05-252-2/+4
| |