aboutsummaryrefslogtreecommitdiff
path: root/platform/android/java/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* -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)
* 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
* Merge pull request #8723 from volzhs/fix-android-masterRémi Verschelde2017-05-121-2/+2
|\ | | | | Fix possible memory leak for Android and update gradle
| * 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
* 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
|
* 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.
* 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-078-150/+42
|\ | | | | Supporting Android API 23 (Android 6.0)
| * Add comments for NotificationCompat to support API < 16volzhs2016-05-252-2/+4
| |
| * fix compatibility for Android API 14 with supporting API 23volzhs2016-05-243-10/+12
| | | | | | | | | | 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
| * Supporting Android API 23 (Android 6.0)volzhs2016-05-207-145/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Add magnetometer sensor support for Androidfluffrabbit2016-05-272-1/+13
|/
* support gamepad remapping on androidhondres2016-01-245-131/+566
|
* Add ability to set "keep screen on" for androidvolzhs2016-01-161-4/+17
|
* Update copyright in remaining files + prints in the UIRémi Verschelde2016-01-114-4/+4
|
* Renamed godot domain from com.android.godot (which was incorrect) to ↵Juan Linietsky2016-01-0822-43/+43
| | | | org.godotengine.godot
* -Removed ANT build system for Android, as it was deprecated by GoogleJuan Linietsky2016-01-0845-5/+8401
| | | | -Added new Gradle build system, as it is the required build system
* Update copyright to 2016 in headersGeorge Marques2016-01-015-5/+5
|
* -several fixes to Android to work better on Tegra 3/4 devices, uses 16 bits ↵Juan Linietsky2015-12-022-2/+3
| | | | FBOs so all 2D shader effects should now work in every single Android device.
* tegra 3 fixmikica1986vee2015-11-211-2/+21
|
* improve android paymentsvolzhs2015-10-283-41/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GodotPaymentV3 currently consumes purchased item right after purchasing. But, some in-app item should not consume like "remove ads permanently" So, I added "setAutoConsume(boolean)", "requestPurchased()", "consume(sku_string)". AutoConsume is true by default as before. usage: func _ready(): var payment = Globals.get_singleton("GodotPayments") payment.setPurchaseCallbackId(get_instance_ID()) payment.setAutoConsume(false) # default : true payment.requestPurchased() # callback : has_purchased payment.purchase("item_name") # callback : purchase_success, purchase_fail, purchase_cancel, purchase_owned payment.consume("item_name") # callback : consume_success func purchase_success(receipt, signature, sku): print("purchase_success : ", sku) func purchase_fail(): print("purchase_fail") func purchase_cancel(): print("purchase_cancel") func purchase_owned(sku): print("purchase_owned : ", sku) func consume_success(receipt, signature, sku): print("consume_success : ", sku) func has_purchased(receipt, signature, sku): if sku == "": print("has_purchased : nothing") else: print("has_purchased : ", sku)
* Merge pull request #2203 from volzhs/fix_android_paymentsJuan Linietsky2015-10-171-1/+3
|\ | | | | Fix android payments
| * fix crash by payments when run on android 5.1.1 device.volzhs2015-06-291-1/+3
| | | | | | | | (http://stackoverflow.com/questions/24480069/google-in-app-billing-illegalargumentexception-service-intent-must-be-explicit)
* | merged some stuff for okamJuan Linietsky2015-09-033-4/+5
|/
* Additional Fix for Multi-touch release problemKyle Luce2015-05-311-1/+1
| | | | | | | | - Was duplicating the functionality of event.getActionIndex() but was missing the bitmask. - Switched back to getActionIndex() but kept the corrected getPointerId() from change #1980 https://github.com/okamstudio/godot/pull/1908
* fix multitouch release problemvipsbpig2015-05-151-1/+2
|
* fixes in handling of DirAccess for resource path on Android, fixes #1447Juan Linietsky2015-04-281-1/+34
|
* Updated copyright year in all headersJuan Linietsky2015-04-184-4/+4
|