Commit Graph

52 Commits

Author SHA1 Message Date
Nathan Adams
918df5fc78 Allow specifying which cargo-ndk targets are built, inside local.properties 2024-03-27 18:58:40 +01:00
TÖRÖK Attila
605776b8c5 ci: Use reactivecircus/android-emulator-runner for testing 2024-03-26 18:34:10 +01:00
Nathan Adams
e9ebf59a54 Add super trivial smoke test 2024-03-26 18:34:10 +01:00
Nathan Adams
5721d8063b Don't require signing keys for assembleRelease 2024-03-25 22:41:03 +01:00
Nathan Adams
ed8423d11a Bump kotlinCompilerExtensionVersion to 1.5.11 2024-03-25 22:02:05 +01:00
Nathan Adams
b380f380d8 Add HardcodedText as an error 2024-03-18 23:40:16 +01:00
Nathan Adams
58999a6525 Fix error-level lints 2024-03-18 23:40:16 +01:00
Nathan Adams
6bc1875cec Allow network requests 2024-03-18 23:40:16 +01:00
Nathan Adams
a700fa8085 Try to load URLs instead of always from a byte array 2024-03-18 23:40:16 +01:00
Nathan Adams
ff33cf4394 Prefetch all Java method IDs for quicker/easier JNI calls 2024-03-18 23:40:16 +01:00
Nathan Adams
2801935f42 Rename FullscreenNativeActivity to PlayerActivity 2024-03-18 23:40:16 +01:00
Nathan Adams
352a977fc6 Convert FullscreenNativeActivity to kotlin 2024-03-18 23:40:16 +01:00
Nathan Adams
778e925276 Pass uri to ruffle through intent data, not a magic static variable. Also makes the actual ruffle activity respond to swf files, instead of the main activity 2024-03-18 23:40:16 +01:00
Nathan Adams
c240978028 Always apply cargo ndk plugin, but conditionally disable it as appropriate 2024-03-18 23:40:16 +01:00
Nathan Adams
bf88d5c8e6 Add ktlint 2024-03-18 23:40:16 +01:00
Nathan Adams
e395c087b4 Restructure everything, native is now top level and app is written in kotlin with new Jetpack Compose ui 2024-03-18 23:40:16 +01:00
Nathan Adams
a4ab39340c native: Remove custom resize method, rely on event loop (for now?) 2024-03-14 00:46:39 +01:00
Nathan Adams
9aaa0a2838 native: Remove playerbox, store state on the java instance instead of static 2024-03-12 23:16:29 +01:00
TÖRÖK Attila
dea4e355f6 chore: Update Ruffle, Rust deps, winit, ndk, android-activity, games-activity, Gradle, and its Android plugin 2024-01-18 09:54:18 +01:00
TÖRÖK Attila
7072c1fc7f Lower minimum platform/API/SDK level/version to 26 (Android 8.0) 2023-11-30 15:45:59 +01:00
TÖRÖK Attila
afc578b716 Switch to cargo-ndk.
Skip the cargo-ndk gradle plugin on GHA.
2023-08-16 09:10:51 +02:00
TÖRÖK Attila
56ea55cb91 Split native (parallel) and APK build stages on GH, support all 4 archs, build universal and single-arch APKs 2023-08-06 23:34:31 +02:00
TÖRÖK Attila
cd7e8eafce Update Android/AndroidX libraries. 2023-08-02 16:12:10 +02:00
TÖRÖK Attila
0590a04b9f Update Gradle 7.5 -> 8.0, 'com.android.application' plugin: '7.4.2' -> '8.1.0' 2023-08-02 13:21:13 +02:00
TÖRÖK Attila
973b7c7753 Update JDK: 11 -> 17, Gradle: 7.2 -> 7.5, and 'com.android.application' plugin: '7.1.2' -> 7.4.2 2023-08-02 13:17:12 +02:00
TÖRÖK Attila
5c3b9dd1f2 Change playerbox to ActivePlayer, add Navigator backend with navigateToUrl support 2023-06-18 14:36:45 +02:00
TÖRÖK Attila
caa1accb85 Cleanup toolbar button handling. 2023-06-18 02:03:13 +02:00
TÖRÖK Attila
d1bb6fe196 Make the context menu respect the enabled/separatorBefore/checked flags of items. 2023-06-18 01:55:58 +02:00
TÖRÖK Attila
ecbfe96c22 Add a context menu button. 2023-06-18 00:48:35 +02:00
TÖRÖK Attila
0a894f47e7 Add a toolbar with a button on it to show and hide the keyboard. 2023-06-18 00:48:22 +02:00
TÖRÖK Attila
bc60ae1ccd Hide keyboard in landscape orientation. 2023-06-17 21:34:52 +02:00
TÖRÖK Attila
c9728d0eee Add a TODO about hiding the keyboard in landscape orientation 2023-03-22 00:13:59 +01:00
TÖRÖK Attila
87aa6b4532 Java imports cleanup 2023-03-21 23:55:37 +01:00
TÖRÖK Attila
817bf8f629 Some keyboard layout cleanup 2023-03-21 23:55:27 +01:00
TÖRÖK Attila
3bfa97f709 Fix keyboard layouting by deduplicating IDs, using ConstraintLayout, and a placeholder SurfaceView 2023-03-21 23:41:54 +01:00
TÖRÖK Attila
3bb1cd248e Add listener to resized view, adjust player viewport 2023-03-21 23:40:43 +01:00
TÖRÖK Attila
ae5df172b5 Switch to GameActivity and add a keyboard! 2023-03-21 23:40:32 +01:00
TÖRÖK Attila
7f1940169e Register to handle http[s] URLs ending in .swf, open them accordingly 2022-04-13 03:05:12 +02:00
TÖRÖK Attila
df23c05387 Add ability to download and open SWFs by https URL 2022-04-13 02:35:04 +02:00
TÖRÖK Attila
b4de73de8b Pass the SWF across to the native activity in a much simpler way 2022-04-13 02:10:15 +02:00
TÖRÖK Attila
b23cd25035 chore: Rename some methods to be halfCamelCase 2022-04-13 02:08:56 +02:00
Oxters Wyzgowski
4b87b5c351 Made both the main activity and native activity fullscreen 2022-04-13 00:20:24 +02:00
TÖRÖK Attila
b31417e06a github: Try to build release (signed) APK as well, using secrets 2022-04-05 23:30:52 +02:00
TÖRÖK Attila
293736b357 Open the native player immediately when started to view an SWF file 2022-04-02 03:23:01 +02:00
TÖRÖK Attila
e8ea2fb266 Actually set the SWF MIME type for the file chooser
It seems to work now somehow?
2022-04-02 03:22:38 +02:00
TÖRÖK Attila
169f9efe9e Don't try opening the soft keyboard, doesn't work... 2022-04-02 03:22:12 +02:00
TÖRÖK Attila
5fce4ab8cf Fix registering to open SWF files with Ruffle 2022-04-02 03:21:58 +02:00
TÖRÖK Attila
8c3dfd3854 Allow screen rotation, try to handle it (pending winit bug) 2022-04-01 03:08:13 +02:00
TÖRÖK Attila
b8bb30ef83 Try to open .swf files (partially works) 2022-04-01 03:07:43 +02:00
TÖRÖK Attila
6c07028e13 Try to add 32-bit ARM support 2022-03-30 03:31:23 +02:00