aboutsummaryrefslogtreecommitdiff
path: root/platform/android/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2722-22/+22
|
* Improve documentation of thirdparty code snippetsRémi Verschelde2017-05-262-0/+32
| | | | (cherry picked from commit c8aea60324e3e219945a805f871363c10292f38b)
* 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
* 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
* 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
|
* Android gravity vector Godot 2.1BastiaanOlij2017-03-212-27/+35
|
* Fix handling input for Androidvolzhs2017-03-041-37/+12
|
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-1222-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! (cherry picked from commit c7bc44d5ad9aae4902280012f7654e2318cd910e)
* Add alert window on Androidvolzhs2017-01-121-0/+19
| | | | (cherry picked from commit 9a20068ab7108357c78e9ac00eb90a3d72da7651)
* Fix Directory.dir_exist/get_current_dir for 'res://' on Androidvolzhs2016-11-151-0/+5
| | | | | | Fix #7014 (cherry picked from commit 8d454ed9a7105bf1a4c19c238a0e904f220c1bb5)
* 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
|
* -Added android immersive mode, fixes #303Juan Linietsky2015-04-171-0/+44
|
* Fixes the accelerometerMartho422015-04-041-3/+18
| | | Resolves the issue of the accelerometer behaving differently across devices with landscape as default and devices with portrait as default.
* Option in Android export to use 32 bits buffer.Juan Linietsky2015-03-312-6/+19
|
* -accelerometer precission changed to "GAME" (#1015)Juan Linietsky2015-01-021-1/+1
|
* Small batch of fixesJuan Linietsky2014-12-151-2/+20
| | | | | | | -=-=-=-=-=-=-=-=-=-= -Fixed looping error in AudioStreamResampled -winrt port progress -fixes in material in ambient light
* -Ability to ask for documents/pictures/etc system dirs.Juan Linietsky2014-12-021-0/+52
| | | | | -Fixes to animationplayer -fixes to collada importer
* 3D Physics and Other StuffJuan Linietsky2014-09-021-4/+4
| | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-= -New Vehicle (Based on Bullet's RaycastVehicle) - Vehiclebody/VehicleWheel. Demo will come soon, old vehicle (CarBody) will go away soon too. -A lot of fixes to the 3D physics engine -Added KinematicBody with demo -Fixed the space query API for 2D (demo will come soon). 3D is WIP. -Fixed long-standing bug with body_enter/body_exit for Area and Area2D -Performance variables now includes physics (active bodies, collision pairs and islands) -Ability to see what's inside of instanced scenes! -Fixed Blend Shapes (no bs+skeleton yet) -Added an Android JavaClassWrapper singleton for using Android native classes directly from GDScript. This is very Alpha!
* Little BitsJuan Linietsky2014-08-145-22/+20
| | | | | | | | -=-=-=-=-=- -Fixed small bugs all around -Added ability to show/hide entire sections of the spatial (3D) tree -WIP new vehicle (not ready yet) based on Bullet
* Small Issues & MaintenanceJuan Linietsky2014-08-019-99/+534
| | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-= -Begin work on Navigation Meshes (simple pathfinding for now, will improve soon) -More doc on theme overriding -Upgraded OpenSSL to version without bugs -Misc bugfixes