summaryrefslogtreecommitdiffstats
path: root/platform/android
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete GLES3 backendRémi Verschelde2020-02-1310-83/+21
| | | | | | | | | | | | | | Due to the port to Vulkan and complete redesign of the rendering backend, the `drivers/gles3` code is no longer usable in this state and is not planned to be ported to the new architecture. The GLES2 backend is kept (while still disabled and non-working) as it will eventually be ported to serve as the low-end renderer for Godot 4.0. Some GLES3 features might be selectively ported to the updated GLES2 backend if there's a need for them, and extensions we can use for that. So long, OpenGL driver bugs!
* Custom material support seems complete.Juan Linietsky2020-02-111-1/+1
|
* Texture refactorJuan Linietsky2020-02-112-3/+3
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Merge pull request #35701 from AlexHolly/fix-double_tap-pressed-regressionRémi Verschelde2020-02-091-2/+1
|\ | | | | Fix double tap pressed event regression
| * Fix double tap pressed event regressionAlexander Holland2020-01-291-2/+1
| |
* | Remove per-file progress reporting when exporting to AndroidHugo Locurcio2020-02-051-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | Calling `step()` on EditorProgress too often will slow down the rest of the editor, so it's best avoided. This is also more consistent with other exporters, as most of them don't report per-file progress either. Exporting a 2D project with ~1,100 files to Android now takes about 10 seconds from a debug editor build instead of 65 seconds. This closes #30850.
* | Remove duplicate ERR_PRINT macro.Marcel Admiraal2020-02-051-6/+6
| |
* | Fixed LineEdit virtual keyboard inputs on AndroidPouleyKetchoupp2020-01-311-1/+1
|/ | | | Changed the condition to add a length filter to make it consistent with the documentation (0 means no character limit). Otherwise the default value in LineEdit causes the virtual keyboard to be non-fonctional on Android.
* Merge pull request #35632 from ↵Rémi Verschelde2020-01-271-18/+3
|\ | | | | | | | | godotengine/revert-32854-fix-wireless-adb-debugging Revert "Fix Android deploy with Remote Debug or Network FS over Wi-Fi"
| * Revert "Fix Android deploy with Remote Debug or Network FS over Wi-Fi"Rémi Verschelde2020-01-271-18/+3
| |
* | Address crash caused by missing dependency.fhuya2020-01-273-4/+4
| |
* | Address crash caused by missing dependency.fhuya2020-01-273-2/+6
|/
* Check if can export before exporting; show error message if can't export.Mark Wynn Garcia2020-01-261-6/+8
|
* Android virtual keyboard respecting LineEdit max length.Bruno Lourenço2020-01-236-10/+23
|
* Revert "Exposes capture methods to AudioServer + documentation" #30468Rémi Verschelde2020-01-201-3/+3
| | | | | | | | | | | | | | | | | Reverts the following commits: - c81ec6f26d40b70283958a4ef3e216fb32cbaf14: "Exposes capture methods to AudioServer, variable renames for consistency, added documentation." - 47c558b98abf842910c780294314326662410cdf: "Expose audio callbacks as signals." - dabaa11b3c451e9b8f2cca7e563bd9ec51edb169: "Fix to make sure the capture buffers are deallocated at shutdown. Silences warnings." Some documentation improvements were kept for pre-existing methods. See rationale for reverting these changes in #30468.
* doc: Sync classref with current sourceRémi Verschelde2020-01-191-0/+30
|
* Fix ClassDB API portability with some android and editor classesIgnacio Etcheverry2020-01-195-9/+108
| | | | | | | | | | | | | | | | | | - `EditorNavigationMeshGenerator` was being registered as part of the Core API, even after d3f48f88bb84d22b7805ce971ac86cf1953a29fd. We must make sure to set Editor as the current ClassDB API type before creating an instance. - The `VisualScriptEngineSingleton.constant` property has a property hint string that's different between tools and non-tools builds. This commit makes the hint string to no longer be set in `_bind_methods`, and to instead set it in `_validate_property`. This way it's ignored when calculating the API hash. - `JavaClassWrapper` is now registered in ClassDB on all platforms, using a dummy implementation on platforms other than Android. This fixes API portability between Android and other platforms. - Updated `--class-db-json` command to ignore non-virtual methods that start with an underscore (see: 4be87c6016a5893cbde897924e540df4c988cee5).
* Android: Improve name of icon export propertiesRémi Verschelde2020-01-171-3/+3
| | | | This seems more readable and still includes the required dimensions.
* Add support for Android adaptive icons.Bruno Lourenço2020-01-1423-55/+102
|
* fixes android double tap regressionAlexander Holland2020-01-134-4/+4
|
* Add support for generating a Oculus Mobile VR apk with hand tracking support.fhuya2020-01-101-115/+155
|
* Fixes Android FileDialogAlexander Holland2020-01-108-1/+160
| | | | | | - Go up was not working, simplify was used one time too much - Added GestureHandler - Added doubleTap to recognize open dir - Fixed scroll where sometimes the scroll jumped between start and end when pointer was outside or on the edge of the scroll area
* Fix Android exporter manifest creation.Bruno Lourenço2020-01-091-6/+6
|
* Export: Improve usability of command line interfaceRémi Verschelde2020-01-071-19/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm barely scratching the surface of the changes needed to make the --export command line interface easy to use, but this should already improve things somewhat. - Streamline `can_export()` templates check in all platforms, checking first for the presence of official templates, then of any defined custom template, and reporting on the absence of any. Shouldn't change the actual return value much which is still true if either release or debug is usable - we might want to change that eventually and better validate against the requested target. - Fix discrepancy between platforms using `custom_package/debug` and `custom_template/debug` (resp. `release`). All now use `custom_template`, which will break compatibility for `export_presets.cfg` with earlier projects (but is easy to fix). - Use `can_export()` when attempting a command line export and report the same errors that would be shown in the editor. - Improve error reporting after a failed export attempt, handling missing template and invalid path more gracefully. - Cleanup of unused stuff in EditorNode around the export workflow. - Improve --export documentation in --help a bit. Fixes #16949 (at least many of the misunderstandings listed there). Fixes #18470.
* Update copyright statements to 2020Rémi Verschelde2020-01-0166-132/+132
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Replace the android.defaultConfig.applicationId in build.gradle with the ↵fhuya2019-12-303-3/+16
| | | | package/unique_name.
* Cleans up headers included in editor_node.hHaoyu Qiu2019-12-241-0/+1
|
* i18n: Sync translations with Weblate + update templateRémi Verschelde2019-12-221-1/+0
| | | | | Also fix a few stray clang-format formatting errors that passed through CI unnoticed.
* Fix crash on Android with no manifest permissions.Fabio Alessandrelli2019-12-171-3/+5
| | | | | API allows for null array of permissions. It is now normalized with an empty array.
* Add Android NetSocket implementation.Fabio Alessandrelli2019-12-145-0/+220
| | | | Automatically acquire and release multicast lock when needed.
* Add GodotNetUtils Java class for Android.Fabio Alessandrelli2019-12-143-0/+105
| | | | | | | Provides access to a MulticastLock. As specified by the Android API, broadcast/multicast packets may be filtered on some phones unless the application explicitly acquires a "MulticastLock".
* iOS modular build and export implementation.bruvzg2019-12-012-8/+0
|
* Merge pull request #32854 from cooperra/fix-wireless-adb-debuggingRémi Verschelde2019-11-281-3/+18
|\ | | | | Fix Android deploy with Remote Debug or Network FS over Wi-Fi
| * Add connection information and serial number to device descriptionRobbie Cooper2019-10-151-0/+8
| | | | | | | | The description appears when hovering over the one-click-deploy button (top-right). This information helps the user distinguish between their devices if multiple are connected or if the same device is connected by both usb and tcpip (two entries in the list for the same device).
| * Detect adb connection type and debug over Wi-Fi if neededRobbie Cooper2019-10-151-3/+10
| | | | | | | | | | | | Avoid using adb reverse if deploying with adb tcpip. This still can fail if the user is attempting to debug over usb and has connected their device over BOTH usb and tcpip. I'm not sure how we would detect that problem in advance though.
* | Style: Add missing copyright headersRémi Verschelde2019-11-221-0/+30
| |
* | Revert "Android : implement InputEventMagnifyGesture and InputEventPanGesture"Rémi Verschelde2019-11-111-33/+1
| | | | | | | | | | | | | | | | | | | | This reverts commit 9cc66495cfb6393102ce5ad4e82f2ccb716b9b33. This caused regressions with the handling of screen drag events. Fixes #33428. Fixes #33459. Fixes #33470.
* | Android : implement InputEventMagnifyGesture and InputEventPanGestureJérémy Zurcher2019-11-021-1/+33
| | | | | | | | sets threshold constants PAN_GESTURE_MIN_DELTA and MAGNIFY_GESTURE_MIN_FACTOR
* | Improve EditorExportPlatform interface.Fabio Alessandrelli2019-10-231-8/+19
| | | | | | | | | | Convert all get_device* methods to get_option* and normalize their usage as icon, label, tooltip.
* | Add request permission automatically at androidCagdas2019-10-227-29/+215
| |
* | Merge pull request #32858 from m4gr3d/expand_singleton_base_apiRémi Verschelde2019-10-221-0/+34
|\ \ | |/ |/| Add `View SingletonBase#onMainCreateView(Activity activity)` api
| * Add `View onMainCreateView(Activity activity)` api to the ↵Fredia Huya-Kouadio2019-10-181-0/+34
| | | | | | | | | | | | `Godot.SingletonBase` class. The new api allows plugins to define and provide their views for inclusion in the Godot Android view hierarchy.
* | Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio2019-10-124-0/+0
|/
* Cleanup fix for the meta-data parsing crashing bug.fhuya2019-10-111-12/+4
|
* Android: Work around crash in _fix_manifestRémi Verschelde2019-10-111-2/+4
| | | | | Works around #32553, not fixing the underlying cause but preventing the crash.
* Adds Pen support for AndroidAlexander Holland2019-10-046-1/+44
|
* Merge pull request #32514 from akien-mga/android-one-click-dont-uninstallRémi Verschelde2019-10-031-1/+1
|\ | | | | Android one-click deploy: Don't clear by default
| * Android one-click deploy: Don't clear by defaultRémi Verschelde2019-10-031-1/+1
| | | | | | | | | | | | | | This makes iteration faster as you don't need to monitor your phone to allow the installation each time. Fixes #32183.
* | Android: Fix manifest parsing and APK names in export codeRémi Verschelde2019-10-032-9/+6
|/ | | | | | | | | | | A better fix would be to make Godot's export code properly parse the tag over multiple lines (and maybe even use XMLParser instead of doing it ad-hoc?). As for the APK names, we could alternatively pick the first .apk found in the `debug` and `release` folders without expecting a specific name. Fixes #32414.
* Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde2019-09-252-10/+10
|\ | | | | Added some obvious errors explanations