summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2019-08-27Merge pull request #31709 from akien-mga/android-fix-thirdpartyRémi Verschelde
Android: Fix another regression with Secure.ANDROID_ID, and fix formatting and documentation of thirdparty code
2019-08-27Merge pull request #31713 from volzhs/fix-vibrateRémi Verschelde
Suppress MissingPermission warning for Android vibration
2019-08-27Android: Sync Google billing library with upstream, unmodifiedRémi Verschelde
Synced with https://github.com/googlesamples/android-play-billing/commit/7a94c6905a9c125518354c216b5c3094fde47ce1.
2019-08-27Suppress MissingPermission warning for Android vibrationvolzhs
It does check its permission every `vibrate_handheld()` calls. Vibrate permission is added by checking it on export settings. And there are some changes for deprecated method.
2019-08-27Android: Reapply custom changes to Google expansion.downloader libRémi Verschelde
I don't know why they're needed, but readding for now to keep things working as they were.
2019-08-27Android: Resync Google expansion.downloader library with upstream, unmodifiedRémi Verschelde
Synced with https://github.com/google/play-apk-expansion/commit/9ecf54e5ce7c5a74a2eeedcec4d940ea52b16f0e.
2019-08-27Android: Reapply changes to Google licensing lib from #24145Rémi Verschelde
But document them better this time.
2019-08-27Android: Resync Google licensing lib with upstream, unmodifiedRémi Verschelde
It had been synced with style changes (spaces -> tabs), not sure why I accepted to merge it this way back then... Synced with https://github.com/google/play-licensing/commit/eb57657f666363914085cdde49d875cf49f5ab06, same as before. Custom-changes will be reapplied in the next commit, if relevant.
2019-08-27Android: Fix another regression with Secure.ANDROID_IDRémi Verschelde
Regression from #24145, which was missed in #28146.
2019-08-27Android: Style fixes to manifest and build.gradleRémi Verschelde
2019-08-27Android: Bump gradle version to 5.1.1Rémi Verschelde
Matching changes made in #31521 and #31547 but only in the Jetbrains IDE config.
2019-08-26Update the fallback input mapping for the Oculus mobile devices.fhuya
2019-08-21Merge pull request #31437 from volzhs/vibrate-mobileRémi Verschelde
Support vibration for Android and iOS
2019-08-21Support vibration for Android and iOSvolzhs
2019-08-20Shut down Godot processes on app exit.fhuya
2019-08-14Merge pull request #31266 from ↵Rémi Verschelde
IAmActuallyCthulhu/pr/remove-redundant-author-comments Remove redundant author doc comments
2019-08-12Export: Remove temp files from cache after exportRémi Verschelde
So far we left most temporary files lying around, so this attempts to fix that. I added a helper method to DirAccess to factor out the boilerplate of creating a DirAccess, checking if the file exists, remove it or print an error on failure.
2019-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-09Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner
"modules/gdnative", "modules/gdscript" directories.
2019-08-07Add feature tag for hmd devices based on DOFCameron Reikes
- Necessary according to https://developers.google.com/vr/develop/android/3dof-to-6dof
2019-08-07Merge pull request #30468 from SaracenOne/expose_audio_captureRémi Verschelde
Exposes capture methods to AudioServer + documentation
2019-07-30Android: Remove unusable android_stl=no optionRémi Verschelde
As of 3.1 and later, we have too many thirdparty C++ dependencies and some internal uses of `new` and `delete` too for it to make sense to build without the STL on Android. The option has been broken since 3.0, and the "System STL" that we relied on for basic support of `new` and `delete` is likely to be dropped from the NDK: https://android.googlesource.com/platform/ndk/+/ndk-release-r20/docs/BuildSystemMaintainers.md#System-STL
2019-07-30Android: Drop support for NDK < r15Rémi Verschelde
NDK r15c was released over two years ago (July 2017), and we cannot build against r14b anyway as it seems to fail with our setup to link the STL.
2019-07-20Removed an unused commitunknown
2019-07-15Exposes capture methods to AudioServer, variable renames for consistency,Saracen
added documentation.
2019-07-08Merge pull request #30407 from qarmin/small_fixessRémi Verschelde
Fixes minor issues found by static analyzer
2019-07-07Fixes minor issues found by static analyzerqarmin
2019-07-06Added release function to PoolVector::Access.Ibrahn Sahir
For clarity, assign-to-release idiom for PoolVector::Read/Write replaced with a function call. Existing uses replaced (or removed if already handled by scope)
2019-07-03SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde
It's the recommended way to set those, and is more portable (automatically prepends -D for GCC/Clang and /D for MSVC). We still use CPPFLAGS for some pre-processor flags which are not defines.
2019-07-02Make the meta-data name attribute settable. This will facilitate reuse for ↵fhuya
ARCore integration.
2019-07-02Merge pull request #29824 from m4gr3d/add_ovr_exportRémi Verschelde
Add XR mode selection to the Android export process.
2019-07-02Add XR mode selection to the Android export process.fhuya
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-06-23Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG
2019-06-21Fix some keyboards not working with Androidlawnjelly
Fixes #17004 Currently the keydown and keyup messages are handled with method like this: if ((source & InputDevice.SOURCE_JOYSTICK) == InputDevice.SOURCE_JOYSTICK || (source & InputDevice.SOURCE_DPAD) == InputDevice.SOURCE_DPAD || (source & InputDevice.SOURCE_GAMEPAD) == InputDevice.SOURCE_GAMEPAD) { // joystick input } else { // keyboard input } The constant for SOURCE_DPAD is 513 10 0000 0001 and the constant for SOURCE_KEYBOARD is 257 1 0000 0001 However, rather confusingly, for many keyboards the source sent by android is 769 11 0000 0001 Thus the keyboard is passing the check as being a DPAD and being processed as a joystick rather than keyboard. This PR handles the specific case of 769, allowing input from physical keyboards.
2019-06-20Merge pull request #29910 from m4gr3d/dev_deprecate_armv6Rémi Verschelde
Deprecate support for Android armv6 architecture
2019-06-19Deprecate armv6 support for Androidfhuya
2019-06-19Made use of semicolons more consitent, fixed formattingJohnJLight
2019-06-16Merge pull request #29325 from m4gr3d/setup_godot_for_ovr_supportRémi Verschelde
Setup Godot to support the Oculus Mobile SDK.
2019-06-15Adding a new Camera Server implementation to Godot.BastiaanOlij
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server. Other parts of Godot can interact with this to obtain images from the camera as textures. This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
2019-05-30Setup Godot to support the Oculus Mobile SDK.fhuya
2019-05-28Android: Include Joysticks/Gamepads which are available on app start.wombatstampede
2019-05-25Git: Explicitly list binary files as such to avoid EOL changeRémi Verschelde
text=auto works well in Git 2.10+ but it's broken in previous versions, which are still used in production on e.g. Ubuntu 16.04 LTS. Also fix a couple missed text files with CRLF terminators. .bat files likely require it to be processed properly on Windows, but core.autocrlf should take care of converting them on the fly when checking out on Windows.
2019-05-21Merge pull request #29032 from akien-mga/tools-exceptions-rttiRémi Verschelde
SCons: Keep exceptions and rtti on Android, iOS and HTML5 tools build
2019-05-21added a const keyword for a methods that return constant literal...hbina085
2019-05-20SCons: Keep exceptions and rtti on Android, iOS and HTML5 tools buildRémi Verschelde
Those were disable to keep size small, and on Android avoid the dependency on the STL, but for tools build (editor) this is not really a concern. Note: as of today it's not possible to build tools=yes for those platforms, but this change is one of the necessary steps to enable it. Fixes #25262.
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-18Allow project export to be canceledGeorge Marques
2019-05-13Merge pull request #28518 from clayjohn/GLES2-MSAARémi Verschelde
Added MSAA to GLES2 backend