fhuya
12e0dc1b65
Add XR mode selection to the Android export process.
2019-07-02 00:12:38 -07:00
fhuya
2c3536810a
Setup Godot to support the Oculus Mobile SDK.
2019-05-30 16:35:50 -07:00
wombatstampede
6e46701e64
Android: Include Joysticks/Gamepads which are available on app start.
2019-05-28 18:23:30 +02:00
Rémi Verschelde
900d90bb61
Git: Explicitly list binary files as such to avoid EOL change
...
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-25 10:43:48 +02:00
Rémi Verschelde
e0574e1d98
Fix typos with codespell
...
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-19 13:10:35 +02:00
Aaron Franke
702b539405
Change "ID" to lowercase "id"
...
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
2019-05-09 06:25:32 -04:00
Juan Linietsky
cf5881f574
Rename wrong field.
2019-04-24 17:01:20 -03:00
Juan Linietsky
a424d39f76
Remove forgotten strings in configuration files
2019-04-24 16:31:23 -03:00
Juan Linietsky
dd03dcbd5a
Android now (optionally) builds the template when exporting
...
Added new way to create add-ons
Removed old way to create add-ons
2019-04-07 15:46:52 -03:00
Rémi Verschelde
f20c9c25eb
Merge pull request #28164 from BastiaanOlij/AndroidCameraPermission
...
Add camera permissions to android
2019-04-19 11:27:11 +02:00
Bastiaan Olij
fab84c7dff
Add camera permissions to android
2019-04-18 23:16:41 +10:00
volzhs
5a4b2087a0
Fix get_unique_id() on Android
2019-04-18 08:07:03 +09:00
Rémi Verschelde
c8994b56f9
Style: Apply new changes from clang-format 8.0
...
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Bastiaan Olij
b2c0a687f1
Restructuring glue code to make it easier to extend
2019-04-05 21:44:06 +11:00
DESKTOP-3H3MR3A\eloisa
b22cf46fdb
Request Android record permission when needed
2019-03-08 12:38:36 -03:00
Pedro J. Estébanez
2d0d64794e
Restart game on GL context loss on Android
...
Bonus:
Remove useless old code about reload hooks
Fixes #22955 .
2019-03-06 19:09:17 +01:00
Ivan Ponomarev
288ff2fd08
Android: Fixed a possible crash in keyboard hide method. It's called not from main thread so InputMethodManager can't be used directly.
2019-02-27 16:59:50 +03:00
volzhs
87db1a8971
Fix Android keep screen on working properly
2019-01-15 22:06:44 +09:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
volzhs
b385a4b053
Fix lint error/warning while building android template
2018-12-18 17:26:33 +09:00
Rémi Verschelde
173b342ca7
Remove trailing whitespace
...
With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'`
(+ manual revert of some thirdparty code under `platform/android`).
2018-11-20 11:15:02 +01:00
Rémi Verschelde
bfd1f09ac5
Style: Apply clang-format to wrongly formatted files
2018-10-29 23:47:40 +01:00
Xavier Sellier
7dcf779a8b
Prevent a device to be added/deleted more than once on Android
...
cherry-picked from fb5a601217
2018-10-29 13:04:36 -03:00
Wojciech Milkowski
3598165c4d
Fix build with Android NDK r18
...
As a bonus there is no need to use undocumented Gradle API any more.
2018-10-08 22:35:18 +02:00
Juan Linietsky
bad991ea83
Many more fixes for GLES2 mobile export. Also added ability to turn on OpenGL debugging on Android export.
2018-10-02 10:00:15 -03:00
FeralBytes
39738d1866
Add support for onRequestPermissionsResult()
...
Credit goes to @vanyasem https://github.com/vanyasem/Godot-AndroidPermissions
But this is a much needed feature to support Android beyond API 21.
Fixed style errors again.
2018-09-27 19:20:26 -08:00
Xavier Sellier
f68e127079
Add clipboard operation for android OS
2018-09-05 17:27:45 -04:00
Rémi Verschelde
7c9f7452f4
Style: Format code with clang-format 6.0.1
2018-07-18 16:27:03 +02:00
volzhs
d18235bc38
Fix keep screen on property path for Android/iOS/UWP
2018-07-17 18:45:57 +09:00
Max Hilbrunner
28ebddd49e
Merge pull request #19799 from kosz78/android-payment-fix
...
Fix possible NullPointerException crash on cancel payment
2018-07-03 18:52:10 +02:00
Hugo Locurcio
53e94a1ce1
Optimize images losslessly using oxipng -o6 --strip all --zopfli
2018-06-28 19:17:41 +02:00
Konstantin Zaitsev
d05db4de8e
Fix possible NullPointerException crash on cancel payment
2018-06-27 14:12:53 +07:00
geequlim
e2aa777d4d
Implement OpenGL ES rasterizer selection logic for Android.
2018-06-26 12:21:06 +08:00
volzhs
2f8f34ceaf
Remove android compatibility under API 16
2018-05-09 06:01:33 +09:00
Ruslan Mustakov
265caa687b
Provide error details when in-app purchase fails
2018-04-19 21:04:20 +07:00
Ruslan Mustakov
5dffa506dc
Fix Android input source checks
...
Input source types are not pure bit flags, they are combinations of
flags, so != 0 check was incorrect and resulted in crashes later, when
trying to obtain the device.
2018-04-16 11:19:07 +07:00
Hugo Locurcio
d698814367
Remove some debugging prints on Android
2018-02-18 00:09:56 +01:00
Xavier Sellier
b8def58705
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
(cherry picked from commit 546b48813f
)
2018-02-14 08:05:19 +01:00
Rémi Verschelde
e3658a6464
Fix broken APK expansion due to missed option renames
...
Command line options were refactored for 3.0 to follow the common usage
of double-dashed long options, but `--main-pack` went through the cracks.
Fixes #16533 .
2018-02-13 22:41:19 +01:00
Ruslan Mustakov
8d41175cae
Fix Android onTextChanged crash
...
As it turns out, onTextChanged supplies a mutable CharSequence, which
lead to crashes or unexpected behaviour when input was coming faster
than it was processed.
2018-01-17 19:28:27 +07:00
volzhs
8fbb82719e
Fix Android multi touch
...
Fix #11798
2018-01-07 23:29:44 +09:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
volzhs
4bea7d1b5f
Update android build tool to latest
2018-01-03 17:25:07 +09:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Rémi Verschelde
7cb6e6b723
Style: Apply clang-format to Java files
...
Only those from org/godotengine/godot though, not the thirdparty ones.
2017-12-10 01:16:07 +01:00
Unknown
fd1b94e307
Improve slang, especially in user-visible parts
2017-12-05 15:41:38 +01:00
Bastiaan Olij
6205eb40e7
Align sensors and implement gravity sensor for Android
2017-11-11 09:42:23 +11:00
Rémi Verschelde
5bc2cf257b
Convert DOS line endings to Unix line endings
...
Should fix issues some of us have with `misc/dist/uwp_template/AppxManifest.xml`
always showing up as modified.
Might cause issues on Windows due to the removal of BOMs or change of line endings
in some of the Mono, UWP or gradlew.bat files, we will test and adapt if need be.
2017-11-05 11:37:59 +01:00
Ramesh Ravone
55784b0c38
export onBackPress for Android Module
2017-10-15 10:35:13 +05:30
Andreas Haas
547cc8b7ab
Merge pull request #11775 from endragor/android-keyboard-input
...
Improve input handling on Android
2017-10-10 20:22:06 +02:00