Commit Graph
105 Commits
Author SHA1 Message Date
staphen 425c675c9b Update Gradle to version 7.4.2 2023-04-18 02:58:48 +02:00
staphen e7ed8253bb [Android] Use correct external files dir in all activities 2023-02-17 04:58:22 +01:00
staphen ffb04b7c23 [Android] Select the external files directory judiciously 2023-02-17 01:17:33 +01:00
Gleb Mazovetskiy 2dd57475a5 Update SDL to the latest SDL2 branch 2023-01-16 19:33:15 +00:00
Gleb Mazovetskiy 351c9d0c13 Update SDL2 and SDL2 Android code 2022-12-17 11:32:58 +00:00
Oleksandr Kalko 9479f6aff8 Update gradle plugin to 7.3.1 2022-10-20 23:04:38 +02:00
Frazer Smith 1ce29164e2 Compress images 2022-10-16 16:01:37 +02:00
staphen cd0205f8b9 Enable override for the externalNativeBuild's buildStagingDirectory 2022-10-02 19:56:02 +02:00
Oleksandr Kalko 74b9157ebf Upgrade Android build tools 2022-09-28 22:51:31 +02:00
Oleksandr Kalko c988fe09e5 Bump gradle plugin version 2022-09-05 18:07:15 +02:00
Gleb Mazovetskiy 63b448c666 Android: Automatically update fonts.mpq 2022-08-03 16:37:04 +02:00
Anders Jenbo 32928d407c Do not crash for unknown reasons... 2022-08-03 09:06:29 +02:00
Anders Jenbo 4cce9a2e6e Do not crash when internal files are in accessible
We do not actually need access to the internal files, so simply skip
migration if there doesn't appear to be an internal folder.
2022-08-03 09:06:29 +02:00
Anders Jenbo a7901323b9 Suppress pointless warning
Uses features only present in Android 4.4, but the activity only appears
in the shortcut list which isn't exposed for Android prior to 7.1
2022-08-03 09:06:29 +02:00
Anders Jenbo 8c2fa0a3ed Make NonNull explicit
Inherited
2022-08-03 09:06:29 +02:00
Anders Jenbo bb76b5fbcd Bump NDK version (#5115) 2022-07-25 16:18:07 +02:00
Oleksandr Kalko e2629e9fde Update Gradle plugin version 2022-06-06 12:48:13 +02:00
Oleksandr Kalko 766acd5baf Upgrade Android build tool versions 2022-05-25 16:19:09 +02:00
SergBrNord 1e4db0c4f8 Small translation edits at ru.po 2022-04-18 21:50:22 +02:00
Gleb Mazovetskiy 6c807347b7 Android: Bump gradle version 2022-04-15 20:56:23 +02:00
Anders Jenbo 16cd789f29 Bump Android versions 2022-04-13 18:54:01 +02:00
Anders Jenbo e4f808d27f [android] Automatically start game after updating translations 2022-04-11 02:50:32 +02:00
Anders Jenbo 474175bcd0 [android] Remove leftover migration code 2022-04-11 02:50:32 +02:00
Anders Jenbo 739ed500fb [Android] Update assets 2022-04-10 01:24:00 +02:00
Gleb Mazovetskiy 6d646a7b32 Update vendored SDL2 to latest master 2022-04-05 08:55:22 +01:00
staphen 6d0b312466 [Android] Add shortcut to import game data 2022-03-30 03:00:16 +02:00
staphen 1f7fb01b0c Adjust gradle task dependencies to ensure assets are included in the APK 2022-03-16 04:07:09 +01:00
Oleksandr Kalko cdca4b6fa4 Update gradle plugin 2022-03-07 14:48:55 +01:00
Oleksandr Kalko c7a4acaa54 Update Gradle plugin version 2022-02-22 12:26:56 +01:00
Oleksandr Kalko cbb0c3ad47 Upgrade Gradle build tools 2022-02-02 19:08:27 +01:00
Oleksandr Kalko 3376917945 Upgrade Gradle plugin version 2021-12-22 17:13:04 +01:00
Anders Jenbo aea984b23d [android] Fix loading with statically linked SDL 2021-12-08 01:53:53 +01:00
staphen da837c4d2e [Android] Clear memory on exit with System.exit(0) 2021-12-02 22:44:45 +01:00
Anders Jenbo f0a7493ef3 Upgrade Android builds to SDK 31 2021-12-01 02:29:33 +01:00
Anders Jenbo d3aab8376a Complete migration to SDL 2.0.18 2021-12-01 02:29:33 +01:00
Gleb Mazovetskiy 4bb34bff96 Update android-project SDL Java code
From https://github.com/libsdl-org/SDL/commit/2e9821423a237a1206e3c09020778faacfe430be
2021-11-30 17:50:16 +01:00
Gleb Mazovetskiy ac152589f9 Android: Fix assets copying
Previously, only the translations were copied for Android at build time.
The other assets were copied only at configure time.

Replaces Android-specific handling with a general mechanism to override
the build-time assets directory.
2021-11-30 11:15:04 +01:00
Anders Jenbo 2c700c0c3d [android] Move CMake define to common folder 2021-11-29 06:09:11 +01:00
Gleb Mazovetskiy b038b3ce3d Add an option to build SDL2 from source
Replaces the Android-specific version of this.
We'll need it for the iOS build as well.

Also switches to the 2.0.16 release version now that it's out.
2021-11-28 15:32:36 +00:00
Anders Jenbo 5644e158cd [Android] Define file to back up
Google allows for a max of 25MB so leave out all the MPQ files
2021-11-14 07:41:35 +01:00
Gleb Mazovetskiy 3d308983a8 Migrate to libmpq
libmpq is a much simpler alternative to StormLib for reading MPQ archives.

We use our own fork of libmpq: https://github.com/diasurgical/libmpq

Impact:

* DevilutionX is now a lot more portable. Unlike StormLib, libmpq only
  needs platform-specific code for Windows.
* Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only).
* RAM usage is **300 KiB** lower than StormLib.
* Stripped release linux_x86_64 binary is **32 KiB** smaller.
* Amiga build now hangs instead of crashing.
2021-11-06 23:51:42 +00:00
Anders Jenbo c4b255cf38 🔥 Remove app migration code
As of November it is nolonger possible to performe this migration from a
new release.
2021-11-05 10:31:16 +01:00
Oleksandr Kalko 30afa525e5 Apply suggested changes by Android Studio (#3287)
* Upgrade Gradle plugin to 7.0.3
* Upgrade compileSdkVersion to 30
* Remove androidResources block
2021-11-01 13:27:40 +00:00
NikoVP 4f7f8c1d17 Update strings.xml
Small update done from phone...
2021-10-31 01:32:55 +02:00
Anders Jenbo 4b898eb8b3 Bump App version to 20 2021-10-28 23:19:45 +02:00
Oleksandr Kalko 60b6142930 TL Android data screen 2021-10-28 21:04:16 +02:00
Anders Jenbo b21ef6296d Bump Android build version 2021-10-27 23:48:32 +02:00
Anders Jenbo c525aab298 [android] Automatically download additional lang packs 2021-10-26 10:23:02 +02:00
Licaon_Kter 1cc9d44da4 Romanian Android app 2021-10-25 21:30:21 +02:00
Anders Jenbo 7f34fc928e Ignore Android assets
Thease are copied build the build process
2021-10-21 03:56:21 +02:00