Joseph Cloutier
c37e48faaf
Disable HIDAPI.
...
Problem one: it requires its own binary, which we haven't built. There
are instructions in sdl/src/hidapi/README.txt, if we ever want to try.
Problem two: the Android app segfaults when `hid_init()` calls
`g_JVM->AttachCurrentThread()`. This might be a bug in NDK 21's jni.h,
but that seems unlikely. Perhaps a version mismatch?
In any case, we aren't using the code at the moment, so the easy answer
is to leave it out.
2022-05-20 01:00:35 -04:00
Joseph Cloutier
d21847e65c
Update SDL to 2.0.22.
...
On Android, `SDL_RWops` no longer stores a plain file descriptor,
so the `AAsset` API must be used instead:
https://developer.android.com/ndk/reference/group/asset
`HAVE_INOTIFY` is required on Linux at the moment, but the bug will be
fixed in the next SDL release.
2022-05-19 17:34:20 -04:00
zatrit
75407f5db8
Fixed dialog on android APK signing
2021-07-23 09:00:09 -07:00
dustinaux
a7451bb9a4
Fix Touch not working on some Google Pixel phones
2021-01-04 11:16:15 -08:00
m0rkeulv
bf2b51ce1e
fix for android rotation
2020-08-03 10:25:40 -07:00
m0rkeulv
f3adce068c
fix for android screen orientation
2020-08-03 10:25:40 -07:00
Joshua Granick
42283e61bb
Update to SDL 2.0.12
2020-03-18 13:36:35 -07:00
mc0239
7708353a6a
Change http to https in gradle-wrapper.properties as services.gradle.org is inacessible over http
2020-01-27 12:47:52 -08:00
mc0239
1fcc76ee12
Use gradle built-in shorthand notations for jcenter and google
2020-01-27 12:47:52 -08:00
flashultra
72beeced30
Update to the latest Gradle 5.6.3 and Gradle Android plugin 3.5.1
...
Fix issue with ANDROID_GRADLE_TASK. Set apk file in separate folder ( from
gradle 4.x)
2019-11-01 13:21:36 -07:00
Joshua Granick
bb2af5eed1
Rely on SDL for Android fullscreen window behavior
2019-10-08 13:41:36 -07:00
Joshua Granick
e9a790a4ea
Update SDL to 2.10
2019-08-20 12:59:31 -07:00
Joshua Granick
7bc1d06634
Update SDL
2019-07-03 13:18:39 -07:00
Joshua Granick
fa91dd6039
Update SDL to HG revision 24883e864f7e
2019-05-08 14:26:45 -07:00
Joshua Granick
f702c8958b
Apply SDL patch https://hg.libsdl.org/SDL/rev/3b1f484500f0
2019-05-07 12:17:18 -07:00
Joshua Granick
f32311e2fd
Update to SDL 2.0.9
2019-01-11 16:07:35 -08:00
Joshua Granick
673d1cf014
Add support for languages field in iOS/Android/AIR templates
2018-07-07 06:48:51 -07:00
Joshua Granick
dccc2da7cb
Update build.gradle
2018-05-31 13:58:42 -07:00
Joey
30728c8f28
change all projects template gradle.
2018-05-31 13:57:10 -07:00
Joshua Granick
5a98885ce4
Update SDL to 2.0.8, updates Android minimum to NDK platform 14
2018-03-12 20:04:27 -07:00
John Langewisch
6f935f137d
Add prompt for keystore password on android
2017-11-20 11:59:07 -08:00
Joshua Granick
6b1bb4439b
Cleanup
2017-10-13 11:39:44 -07:00
HerbinCommando
c3b8f49ee0
Update GameActivity.java
...
Handle android onWindowFocusChanged in GameActivity.java
2017-10-13 11:34:47 -07:00
leocavalcante
a9ec17fd2b
Use fullscreen conditional at manifest theme attribute
2017-09-03 12:28:10 -07:00
Joshua Granick
698509bd83
Guard Android onRequestPermissionResult for API 23 or greater only
2017-08-07 16:53:52 -07:00
aW4KeNiNG
f6879da971
Request Permission result for Android.
2017-07-10 17:28:02 -07:00
Justin Espedal
f31b29fc3c
Auto-detect Android build-tools version
...
Use <android build-tools-version="" /> to specify a version in project xml.
2017-06-05 16:01:09 -07:00
Joshua Granick
d736579bfe
Add support for Gradle build directory ( resolve #802 )
2017-06-05 15:34:20 -07:00
Joshua Granick
ad72b1ef5b
Correct state when exiting Android application ( resolves #787 , close #765 )
2017-05-16 14:33:31 -07:00
Joshua Granick
ac13182fd0
Update to SDL dev 22a0b777d7cd
2017-05-04 15:15:29 -07:00
Joshua Granick
2d74f0af81
Patch support for proper suspend/resume behavior on Android in SDLActivity
2017-03-31 15:18:23 -07:00
Joseph Cloutier
9bbb6205be
Allow setting a different Gradle plugin version.
...
Turns out, the Gradle version (2.10) is NOT the same as the plugin version (2.1.0). These have to be treated separately.
2017-02-13 13:01:27 -05:00
Joseph Cloutier
b4055db620
Revert "Allow setting a different Gradle version."
...
This reverts commit af05162c72 .
2017-02-13 12:55:51 -05:00
Joseph Cloutier
af05162c72
Allow setting a different Gradle version.
2017-02-12 15:17:47 -05:00
Joshua Granick
62f9fe0b7c
Compile fix
2017-01-26 15:07:10 -08:00
Joshua Granick
9c5a3590bd
Improve display.dpi values
2017-01-26 14:36:08 -08:00
Joshua Granick
0f41f2555b
Correct state when exiting Android application ( resolves #787 , close #765 )
2017-01-11 11:50:23 -08:00
Joshua Granick
54a8f32f60
Add System.openFile / System.openURL
2016-11-11 16:46:43 -08:00
Joshua Granick
2c94bc255e
Android template improvements
2016-10-27 12:12:43 -07:00
Joshua Granick
fc4fbd45aa
Improve Android immersive mode ( close #1325 )
2016-10-27 08:53:31 -07:00
Joshua Granick
384fdf2942
Compile fix, cleanup
2016-10-24 17:46:54 -07:00
Federico Bricker
a361b4681e
Add lime.ui.Haptic.vibrate(...) function (just for android right now... iOS will be soon)
2016-10-24 17:16:00 -07:00
Joshua Granick
e509fdeb69
Update to SDL 2.0.5
2016-10-21 16:26:31 -07:00
Joseph Cloutier
521a81ce8c
Make Gradle use the right APK filename.
...
Rather than making Lime rename it after the fact.
2016-10-16 15:41:47 -04:00
Federico Bricker
90d0c44f4b
Fix Android compilation using debug
2016-10-10 06:35:36 -07:00
Joshua Granick
6d0f726574
Allow submission to non-touchscreen devices (FireTV, Chromebook...)
2016-09-28 18:43:47 -07:00
Emin Fedar
f08627b1a6
Android SDK gives error when android:debuggable="false"
...
Write only if it is true.
2016-09-08 13:21:33 +03:00
Joshua Granick
0aac32f551
Use Android build tools 24.0.1, don't require HTTPS
2016-08-08 14:42:30 -07:00
player-03
574bb0118b
Include the libs folder.
2016-08-08 13:40:14 -07:00
player-03
5af4034541
If build.xml exists, ignore it and use a bunch of Gradle code instead.
2016-08-08 13:39:39 -07:00