Commit Graph

414 Commits

Author SHA1 Message Date
Miku AuahDark 1ff59f59e5 Recompile LuaJIT binaries with -fPIC and lld linker and rewrite build_instructions.bat 2021-05-09 16:30:18 +08:00
Miku AuahDark df01c4568b Update LOVE to love2d/love@e9c58c8192 2021-05-08 22:43:16 +08:00
Miku AuahDark 5862a884bd Update to LOVE to love2d/love@22455276f6 2021-02-06 23:03:47 +08:00
Miku AuahDark d023500320 Only copy game archive if it's requested. 2021-02-06 22:09:47 +08:00
Miku AuahDark 0480f4bac7 Add getAssetManager() method.
This method will be called from C++ side.
2021-02-06 19:30:08 +08:00
Miku AuahDark 59153900ad Update Android Gradle plugin to 4.1.1 2021-02-06 19:08:06 +08:00
Miku AuahDark 0008f9b49e Fix compile error. 2021-02-06 18:54:19 +08:00
Miku AuahDark c315ddff8b Fixed crash when plugging physical keyboard or joystick. 2021-01-21 17:03:43 +08:00
Miku AuahDark 7da70d9786 SDL: Apply https://hg.libsdl.org/SDL/rev/a8e6474302ea
Issue #198
2021-01-14 14:55:03 +08:00
Miku AuahDark ac3ce6af68 Reapply e1f6ce34f0
https://github.com/love2d/love-android/issues/200#issuecomment-757976093
2021-01-12 13:57:04 +08:00
Miku AuahDark 05150585bf Update LÖVE to love2d/love@4ebe64afe1
Issue #200
2021-01-09 23:47:42 +08:00
Miku AuahDark 5b51e05895 Add missing Android.mk for LuaJIT 2021-01-09 11:42:05 +08:00
Miku AuahDark e94fe1a70d Add missing x86-64 LuaJIT static library. 2021-01-05 10:14:58 +08:00
Miku AuahDark d59818bf69 Update LuaJIT to LuaJIT/LuaJIT@1e66d0f9e6 2021-01-05 10:13:12 +08:00
Miku AuahDark f56e03b47c Upload normal debug APK as artifacts too. 2020-12-25 23:10:36 +08:00
Miku AuahDark cf608eda1d Update submodule to love2d/love@9c4db00e94 2020-12-25 23:10:00 +08:00
Miku AuahDark aaae1f4392 Look in /sdcard/lovegame too in Android 9 and earlier for backward compatibility.
See #194 for further explanation about this change.
2020-12-25 23:06:41 +08:00
Miku AuahDark 71c07360a5 Update LOVE submodule love2d/love@57a2a88a09 2020-12-24 23:00:03 +08:00
Miku AuahDark 596cffc9dc Rename openURL -> openURLFromLOVE
It's probably a good idea to remove this function in 12.0 and replace
it by calls to SDL_OpenURL() in LOVE C++ code instead.
2020-12-24 22:48:58 +08:00
Miku AuahDark 0fe970a575 Apply the current love-specific patches. 2020-12-24 22:48:29 +08:00
Miku AuahDark 7ff727cc2d Update SDL to 2.0.14 2020-12-24 20:55:12 +08:00
Miku AuahDark c97bc90527 Rename "Alc" to "alc"
This caught me off-guard.
2020-12-24 20:33:33 +08:00
Miku AuahDark b96fd660f9 Pass sample rate and frames/buffer to opensl_latency.cpp to be used with Oboe later. 2020-12-24 20:08:47 +08:00
Miku AuahDark 321fd15d99 Add low latency audio feature in manifest.
... but make it optional
2020-12-24 15:18:57 +08:00
Miku AuahDark dfe836d39c Update OpenAL-soft to 1.21.0
This allows OpenAL-soft to use Oboe backend which uses AAudio in Android 8
or OpenSLES in earlier Android version. This switch is necessary for
Android 11 compatibility as OpenSLES is now deprecated in Android 11.

Plus, we also have low latency audio for free.
2020-12-24 15:01:23 +08:00
Miku AuahDark 96f7387ac5 Upload each APK as separate artifacts. 2020-12-23 22:19:05 +08:00
Miku AuahDark 1c0565b56e Update readme. 2020-12-23 21:44:40 +08:00
Miku AuahDark 9c94f41470 Ensure app/src/main/assets directory exist. 2020-12-23 21:24:19 +08:00
Miku AuahDark 5b9fbeacb5 Update GitHub actions workflow. 2020-12-19 20:45:06 +08:00
Miku AuahDark 0e41ef20b3 Android 11.0 compatibility (#195)
* Update dependencies and target SDK
* Update Gradle to 6.6.1
* Update target API level to 30
* Update AGP to 4.0.1
* Update Android Build Dependencies (androidx.appcompat:appcompat:1.2.0, androidx.multidex:multidex:2.0.1)
* Update readme
* Move /sdcard/lovegame directory. (closes #194)
* Potentially fixes black screen when reopening LOVE from app drawer (fixes #190)
* Downloader cleanup.
* Merge SDL AndroidManifest.xml to LOVE
* Implement partial "Share to LOVE" support.
* Enable resizeableActivity
2020-10-10 01:33:06 +08:00
Miku AuahDark 6c754106ea Revert "Increase target API level to 29 (Android 10.0)"
This reverts commit f0abf9b537.

See #194
2020-10-06 20:47:56 +08:00
Miku AuahDark f0abf9b537 Increase target API level to 29 (Android 10.0) 2020-06-27 19:49:55 +08:00
Miku AuahDark 31d7affd91 Remove setImmersiveMode code as it conflicts with SDL's immersive mode code.
Fixes #191
2020-06-22 12:57:38 +08:00
Miku AuahDark 20329a65a6 Do not use ID 1 for request code
As it's reserved by SDL for its Android_JNI_RequestPermission
2020-05-05 11:26:25 +08:00
Miku AuahDark 8a964146c1 Update SDL to 2.0.12 2020-05-05 10:31:43 +08:00
Miku AuahDark b1740eb4b6 Add license.txt and license notice to each Java files. 2020-02-01 00:37:34 +08:00
Miku AuahDark cb56ef28fb Update and cleanup readme. 2020-02-01 00:01:27 +08:00
Miku AuahDark ba299eeafb Fix embed flavor not starting up. 2020-01-31 23:20:49 +08:00
Miku AuahDark 3370e38eea Testing the Actions. 2020-01-31 22:12:12 +08:00
Miku AuahDark 7999e17a76 Exclude "Download" service/activity from embed flavor. 2020-01-31 21:34:21 +08:00
Miku AuahDark 5a80990790 Perform handleIntent conditional whetever it's embed build or not. 2020-01-31 14:58:53 +08:00
Miku AuahDark 62684832a6 Generate 3 different flavors: normal, playstore, embed. 2020-01-31 14:46:34 +08:00
Miku AuahDark 01c8018c36 Merge commit 'e721960f7e52fcadd7e0f4bda977b879adb12433'
Add 11.3 changelog.
2020-01-29 22:51:03 +08:00
Miku AuahDark 1fe71865f6 Update readme. 2020-01-29 22:42:52 +08:00
Miku AuahDark fa276ea4d8 Detect LOVE submodule first before building. 2019-11-24 17:36:32 +08:00
Miku AuahDark e721960f7e Update README 2019-11-17 11:50:36 +08:00
Martin Felis 18c9b3c401 Disable microphone for PlayStore build. 11.3a 2019-10-29 22:59:28 +01:00
Miku AuahDark face22cff4 Release 11.3 11.3 2019-10-27 23:19:47 +08:00
Miku AuahDark 8b93b1eea2 Remove problematic dimens.xml when compiling. 2019-10-20 12:07:24 +08:00
Miku AuahDark 29821438ad Update APK manifest to 11.3 2019-10-10 23:23:28 +08:00