Commit Graph

172 Commits

Author SHA1 Message Date
Miku AuahDark b1f1062854 Update library versions. 2022-05-22 13:18:26 +08:00
Miku AuahDark 5dd2ac6c3a Use libc++_shared when compiling Megasource and LOVE. 2022-05-16 00:28:13 +08:00
Miku AuahDark 9e15879b4b Initial handling of swipe refresh gesture. 2022-05-15 23:59:17 +08:00
Miku AuahDark 1f90ef5646 Use FLAG_ACTIVITY_NEW_TASK when opening our site. 2022-05-15 23:44:56 +08:00
Miku AuahDark 3379e4c1e9 Game folder dialog. 2022-05-15 23:40:49 +08:00
Miku AuahDark 3a51afb798 Move hardcoded menu strings. 2022-05-15 22:45:27 +08:00
Miku AuahDark d5ba173cbb Allow launching no-game screen.
Not working yet, GameActivity crashes.
2022-05-15 22:38:40 +08:00
Miku AuahDark 7914d60eae Add swipe refresh. 2022-05-15 22:28:28 +08:00
Miku AuahDark 4848d7f712 Implement options menu. 2022-05-15 00:34:28 +08:00
Miku AuahDark 39da32d7c5 Add no games text. 2022-05-15 00:14:02 +08:00
Miku AuahDark df8125b601 Use Theme.AppCompat.DayNight. 2022-05-14 23:20:03 +08:00
Miku AuahDark d107d36bbd Add about activity.
Can't be seen yet.
2022-05-14 23:07:00 +08:00
Miku AuahDark d7c8736e9a Update submodules. 2022-05-14 20:42:27 +08:00
Miku AuahDark ef7bb80a47 Rename android:tint to app:tint 2022-05-14 14:44:19 +08:00
Miku AuahDark fcd0731535 Update submodules (again) 2022-03-22 15:05:07 +08:00
Miku AuahDark 78bf758489 Update submodules. 2022-03-05 15:28:49 +08:00
Miku AuahDark 24778126d6 Fix inappropriate fd usage. 2022-03-05 11:43:06 +08:00
Miku AuahDark adfe737120 Update megasource submodule. 2022-02-07 01:25:48 +08:00
Miku AuahDark d4da2103a4 Initial step of integrating with CMake and Megasource 2022-02-07 01:23:15 +08:00
Miku AuahDark 9faca13054 Game list layout. 2022-02-06 23:42:35 +08:00
Miku AuahDark 2a461594a7 Initial work of the game selector. 2022-02-06 21:39:00 +08:00
Miku AuahDark 90e7e60955 Rewrite GameActivity.java 2022-02-05 23:23:59 +08:00
Miku AuahDark 10622388b5 Initial 12.0 refactor.
There are no guarantees this commit will compile.
2022-02-05 16:02:16 +08:00
Miku AuahDark b367b3733d Release 11.4 2022-01-05 00:48:12 +08:00
Miku AuahDark fd966a7298 Update target SDK to Android 12
We can't update NDK yet because it drops supports for Android Jelly Bean.
2021-12-05 14:26:58 +08:00
Miku AuahDark 17f92a71aa Update gradle library dependencies.
* AGP to 7.0.3
* AndroidX AppCompat to 1.4.0
2021-12-05 14:08:25 +08:00
Miku AuahDark 2f5394098c Increase minimum SDK version to API 16.
Don't think anyone uses ICS nowadays?
2021-12-05 13:54:00 +08:00
Miku AuahDark cd0747806d Change how "embed" flag is passed. 2021-12-05 13:49:23 +08:00
Miku AuahDark c9831be4a4 Refactor AndroidManifest.
Playstore flavor is now removed. Instead, another "record" flavor added:
* `embedNoRecord` - Embed version without recording support.
* `embedRecord` - Embed version with recording support.
* `normalNoRecord` - Normal version without recording support.
* `normalRecord` - Normal version with recording support.
2021-12-05 11:44:47 +08:00
Miku AuahDark a3fc057064 Revert "Implement partial "Share to LOVE" support." 2021-12-05 10:08:17 +08:00
Miku AuahDark b3d9ceb314 Do not obfuscate SDL Java wrappers.
Fixes #217
2021-10-13 19:19:31 +08:00
Miku AuahDark 56ab3cef77 Try to silence some Play Console warnings.
Issue #215
2021-10-11 20:07:16 +08:00
Miku AuahDark c315ddff8b Fixed crash when plugging physical keyboard or joystick. 2021-01-21 17:03:43 +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 321fd15d99 Add low latency audio feature in manifest.
... but make it optional
2020-12-24 15:18:57 +08:00
Miku AuahDark 9c94f41470 Ensure app/src/main/assets directory exist. 2020-12-23 21:24:19 +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 62684832a6 Generate 3 different flavors: normal, playstore, embed. 2020-01-31 14:46:34 +08:00
Martin Felis 18c9b3c401 Disable microphone for PlayStore build. 2019-10-29 22:59:28 +01: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
Miku AuahDark 8c701dd3a4 Add microphone permission to AndroidManifest.xml 2019-09-29 15:25:01 +08:00
Miku AuahDark 54b29fca4f Update APK version to 11.2 2019-08-10 16:25:40 +08:00
Miku AuahDark 5df17ba075 Modify AndroidManifest.xml again(?)
Moved WRITE_EXTERNAL_STORAGE maxSdkVersion to 28. Although t.externalstorage=true
needs WRITE_EXTERNAL_STORAGE for Android Jelly Bean and earlier, it's needed
for the game downloader to store files in Downloads folder. However the permission
to do it is unnecessary since Android Q (API 29).
See https://developer.android.com/reference/android/app/DownloadManager.Request#setDestinationInExternalPublicDir(java.lang.String,%2520java.lang.String)

Use per-activity theme instead of per-application theme. We need different
theme for the GameActivity and the DownloadActivity.
2019-08-10 15:59:26 +08:00
Miku AuahDark 5090a072b2 Minor manifest change and some GameActivity changes.
Fixed storage permission request and do not hardcode "game.love" as the cache output
file.
2019-07-26 13:01:25 +08:00
Miku AuahDark 2529265eed Modify AndroidManifest.xml again.
The first change is to change the launch mode from singleTop to singleTask.
This hopefully fixes issue with love.filesystem initialization issue.

The second change is to change the accepted mime type to application/octet-stream.
2019-07-20 19:58:51 +08:00
Miku AuahDark f761e43904 Fix *.love file association in Nougat and later.
Note that the file association is rather hacky but I can't find any method
which is compatible in Nougat and later as file:// URI is banned there.
2019-07-10 12:10:36 +08:00
Miku AuahDark 94d31aefc1 Only request storage permission on JB and older.
The permission to read local, application external directory is granted
implicitly in KitKat and later versions.
2019-07-10 09:00:13 +08:00