Commit Graph

326 Commits

Author SHA1 Message Date
Pedro J. Estébanez 5f795e6261 Upgrade & fix Android build scripts 2019-03-19 21:53:54 +01:00
Rémi Verschelde e898b0a3a8 Android: Enable arm64-v8a export by default
From August 1, 2019, Google Play requires that all new apps and app updates
include 64-bit versions, so we enable ARM64 by default.

IINM support for x86 and x86_64 is still be optional, so not enabling them
out of the box.

Part of #25030.

(cherry picked from commit 9e820cdf20)
2019-01-16 14:02:54 +01:00
Rémi Verschelde b768381998 Android: Add support for x86_64 architecture
Like arm64v8, this is only supported by API 21 and later,
so we enforce 21 as min API for x86_64.

Part of #25030.

(cherry picked from commit 7f4ee36469)
2019-01-16 13:28:04 +01:00
allkhor 7bdd22312f Fixed built templates for android 2018-11-15 21:09:34 +06:00
allkhor 52c63f7cfd Don't copying libc++_shared.so when module android_stl is disabled 2018-10-26 23:53:44 +06:00
Ridwan Abdul Hafidh 6e62a1e4de add support libc++_shared on android 2018-09-17 15:13:40 +02:00
Rémi Verschelde bb13fa896e Style: Format code with clang-format 6.0.1 2018-07-18 17:56:12 +02:00
Hein-Pieter van Braam a2cdc82b78 Write new permissions to the AndroidManifest.xml
Instead of editing the placeholder permissions actually write new ones.
This should solve the privacy statement problems for the Play store.
This means we also no longer need to placeholder permissions in the
template.
2018-07-10 14:24:12 +02:00
Rémi Verschelde 2f56eb9bb8
Merge pull request #19155 from dlnsk/version_code_range
Increase versionCode range
2018-05-25 17:52:11 +02:00
Rémi Verschelde 2ea63bc581
Merge pull request #19083 from xsellier/bugfix/print-error-less-hardcore
Allow users to catch errors for android platforms and prevent exception throwing
2018-05-25 10:19:40 +02:00
Dmitry Pupinin 0f0b968d5d Increase versionCode range 2018-05-25 10:01:03 +07:00
Xavier Sellier 6fc89d0ce3 Allow users to catch errors for android platforms and prevent exception throwing 2018-05-21 11:39:40 -04:00
Xavier Sellier ac49392627 Querying sku might lead to crash if 'mService' is null 2018-05-17 14:06:50 -04:00
Rémi Verschelde 4fade6fa00 Android: Bump ndk platform to android-18 as in manifest 2018-05-16 20:19:03 +02:00
volzhs ede27690c3 Remove android compatibility under API 16 2018-05-09 05:43:53 +09:00
volzhs b21872cba7 Update min API version to 18 to match 4ad02579 2018-05-09 05:06:40 +09:00
Rémi Verschelde 326fd3503a
Merge pull request #18626 from RameshRavone/2.1
Fix: JAR files signed with the MD5 algorithm as unsigned (godot 2)
2018-05-08 15:26:02 +02:00
RameshRavone 4ad02579e6
Android: Raise min API version to 18 2018-05-08 16:18:52 +05:30
Rémi Verschelde 2f0d502919
Merge pull request #18696 from xsellier/bugfix/purchase-check-is-connected
Add a check to the PurchaseTask.purchase method to prevent NullPointe…
2018-05-08 11:17:12 +02:00
Rémi Verschelde d72c6c04f7
Merge pull request #18426 from xsellier/feature/64-bits-android
Add support for ARMv8 (64-bit) on Android
2018-05-08 10:52:30 +02:00
Xavier Sellier 9efd5de872 Add a check to the PurchaseTask.purchase method to prevent NullPointerException 2018-05-07 20:54:52 -04:00
RameshRavone 38b5679c49
Fix JAR files signed with the MD5 algorithm are not supported 2018-05-07 21:17:59 +05:30
Juan Linietsky 356c1381b5
Merge pull request #18644 from xsellier/bugfix/no-stacktract-on-android
Android - Crash log misses file name, function name, line number and details
2018-05-07 12:12:40 -03:00
Xavier Sellier d832a5bfbb Add a stacktrace when there is a script error or an error from godot engine 2018-05-05 15:18:52 -04:00
Xavier Sellier b6a2d5f508 Closing the app might lead to a crash due to an IllegalArgumentException 2018-05-04 23:11:16 -04:00
Xavier Sellier 72d81d5903 Refactor PaymentsManager according to Google's guidelines 2018-04-28 12:39:48 -04:00
Xavier Sellier 4fe2b05401 Change "env['ndk_platform']" to "ndk_platform" and add "can_vectorize = True" 2018-04-26 09:29:28 -04:00
Colin Kinloch ff3cb321da Fixed android arm64v8 2018-04-25 20:56:31 -04:00
Pedro J. Estébanez 4cb50673d7 Add support for ARMv8 (64-bit) on Android 2018-04-25 17:49:04 -04:00
Xavier Sellier 692f4250e7 Trying to create a mutex twice 2018-04-16 17:12:40 -04:00
Rémi Verschelde 1c81775f8a
Merge pull request #17999 from xsellier/bugfix-17987/input-device-management
Prevent a device to be added/deleted more than once on Android
2018-04-05 18:34:03 +02:00
Rémi Verschelde 14a5888a80
Merge pull request #17954 from xsellier/bugfix/null-pointer-exception-android-payment
Prevent NullPointerException when data is null during a Payment
2018-04-05 18:31:14 +02:00
Xavier Sellier fb5a601217 Prevent a device to be added/deleted more than once on Android 2018-04-05 10:15:57 -04:00
Xavier Sellier d87578c3cd Prevent NullPointerException when data is null during a Payment 2018-04-05 09:59:02 -04:00
Xavier Sellier 21d03317d7 Initialize sensors to default values for Android platform 2018-04-05 09:50:22 -04:00
Xavier Sellier 657bf8c1a3 Add check when pausing/unpausing audio OpenSL interface (android) 2018-04-04 14:37:41 -04:00
Xavier Sellier 4d2853fcdc Add clipboard operation for android OS 2018-04-03 13:27:00 -04:00
Xavier Sellier 7535698c8a Prevent android to split-screen
Add android:resizeableActivity='false' to the manifest.
2018-03-20 21:35:11 -04:00
Rémi Verschelde 940bab2734
Merge pull request #17646 from volzhs/android-device-info-2.1
Fix getting Android device information (2.1)
2018-03-20 11:28:46 +01:00
volzhs 79f155a42e Fix getting Android device information 2018-03-20 14:18:38 +09:00
Xavier Sellier 88e779cd5e Improve android java support
- Use Log.d/Log.w instead of System.printf
- Remove commented code
- Cherry-pick: Manual backport of d698814367
2018-02-22 13:36:34 -05:00
Xavier Sellier 0af3f8e053 Backport of clang-format 7cb6e6b723 2018-02-22 13:00:36 -05:00
Xavier Sellier 546b48813f Add signals and a check function for Android service connectivity.
- Add a iap_connect and iap_disconnect events for android platform.
- Add isConnected() function returning true if its connected to android service, false otherwise
2018-02-13 19:03:51 -05:00
volzhs add0c1aa28 Fix Android build
it's same fix with #15400, #15605 but for 2.1 branch
2018-01-28 09:21:35 +09:00
Rémi Verschelde 13d05cbb49
Merge pull request #15278 from volzhs/android-update-build-2.1
Update android build tool to latest [2.1]
2018-01-03 18:06:35 +01:00
volzhs 62475459fa Update android build tool to latest 2018-01-03 17:06:48 +09:00
Rémi Verschelde 3102dc17ee
Merge pull request #13437 from xsellier/bugfix/mouse-cursor-lag
Implement hardware cursor acceleration for Godot Engine 2.1
2018-01-03 08:36:44 +01:00
Rémi Verschelde 2712014744 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-02 11:27:24 +01:00
Xavier Sellier 377fdc1e33 Hardware cursor implementation for Godot Engine 2.1
- Remove all references to the variable 'custom_mouse_cursor_hotspot' and 'custom_mouse_cursor' from the project settings.
- Indeed, to implement a custom cursor we need to define a sprite for each 'state' of the cursor. Using those variables in the projects settings would define only the _main_ cursor.
- Cleanup the VirtualServer (Remove references to cursor_set_visible, cursor_set_texture and cursor_set_pos)
- Cleanup the Input (set_mouse_in_window should not be used anymore)
- Update the documentation
- Implement it for windows, X11, Javascript, BB 10, OSx, iOS, server, android
- NOT IMPLEMENTED FOR WINRT (As of today, I'm not able to implement this one, this post might help)
- NOT IMPLEMENTED FOR HAIKU (Support of this platform seems perfunctory)
- Build it for Windows, Android and OSX
2017-12-15 11:37:36 -05:00
Rémi Verschelde 6a4e7198c5 Style: apply clang-format (5.0.0) to current source 2017-12-11 15:31:49 +01:00