aboutsummaryrefslogtreecommitdiff
path: root/platform/android/java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2722-22/+22
|
* update gradle-android buildtool for 2.1ISylvox2017-07-304-10/+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
* 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
* 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)
* Android: Rename values-zh to values-zh-rCN (#6063)Skyfrit2016-08-081-1/+1
| | | | (cherry picked from commit 4f6a21b0df772804b67073dc65f000f571a4511e)
* Android: Add support for Traditional Chinese (HK) (#6061)Skyfrit2016-08-081-0/+4
| | | | (cherry picked from commit 664b5b5137b00c170968c688d880561ab294ae91)
* Android: Add support for Traditional Chinese (TW) (#6061)Skyfrit2016-08-081-0/+4
| | | | (cherry picked from commit 8ab4acd17f06c31b9281c63232756c4d1a7b3a24)
* 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
| |
| * 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-209-147/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Icon: Remove more grey capsules behind official logoRémi Verschelde2016-05-301-0/+0
| |
* | Add magnetometer sensor support for Androidfluffrabbit2016-05-272-1/+13
|/
* remove unused resources and add korean locale for androidvolzhs2016-04-192-3/+52
| | | | | - remove unused resources in platform/android/java/res/values/strings.xml - add korean language resource for apk expansion download screen
* 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-0864-199/+8986
| | | | -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
|
* Merge pull request #2518 from masoudbh3/godot-iconsJuan Linietsky2015-11-191-0/+0
|\ | | | | Add icon to exe file in windows export
| * Add icon to exe file in windows exportmasoud bh2015-11-091-0/+0
| | | | | | | | | | | | | | | | | | add version_info and icon sections in "export to windows platform". add version_info and icon to godot exe file (editor & template exe). fix an problem in image class. change all default icons to android export icon (a little more rounded). create an python script for convert file to cpp byte array for use in 'splash.h'.
* | Merge pull request #2814 from masoudbh3/android-fa-localeJuan Linietsky2015-11-181-0/+16
|\ \ | | | | | | Android add FA(persian) locale strings
| * | Android add FA(persian) locale stringsmasoud bh2015-11-191-0/+16
| |/
* / 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