Tom Pratt
38b5c7370c
Implement StopGame callback and use it to finish the emulation activity
2026-05-19 12:02:56 +02:00
Tom Pratt
86956b21be
Settings refactor
...
Remove the big saveSetup function and set individual settings immediately after being changed in the UI. Group them all under Netplay.Settings
2026-05-19 12:02:56 +02:00
Tom Pratt
65e4c60158
Max buffer
2026-05-19 12:02:56 +02:00
Tom Pratt
e49451b28e
Put players table in an OutlinedBox, makes the UI look more consistent.
2026-05-19 12:02:56 +02:00
Tom Pratt
c32732714e
Implement more NetPlayUICallbacks
...
Includes chat, game changes, pad buffer changes and host input authority. Merges them all into the chat window.
2026-05-19 12:02:55 +02:00
Tom Pratt
dfa3384281
Netplay chat UI
2026-05-19 12:02:55 +02:00
Tom Pratt
d9e2725e85
Implement player list
2026-05-19 12:02:55 +02:00
Tom Pratt
af2fda5649
Reorder netplay class
...
Put all the boring settings at the bottom to reduce scrolling!
2026-05-19 12:02:55 +02:00
Tom Pratt
b72f3c1afc
Add mostly empty Netplay screen, equivalent of NetPlayDialog in QT.
...
All it can do at this point is quit the current netplay session when backing out of this screen.
2026-05-19 12:02:55 +02:00
Tom Pratt
5527e8138e
Move NetplaySetupScreen to its own file
2026-05-19 12:02:55 +02:00
Tom Pratt
f52ca02ca2
Show client connection errors and handle connection result
...
If result is a success sent event to launch the next netplay screen. if it fails, clear up the netplay client
2026-05-19 12:02:54 +02:00
Tom Pratt
3ed9174208
Store netplay BootSessionData and use it to run the netplay game
2026-05-19 12:02:54 +02:00
Tom Pratt
766374434c
Pass game list to NetPlayUICallbacks and implement OnMsgChangeGame, OnMsgStartGame, FindGameFile
2026-05-19 12:02:54 +02:00
Tom Pratt
1464fdfc28
Add NetPlayClient join and stub NetPlayUICallbacks
2026-05-19 12:02:54 +02:00
Tom Pratt
a1983e5fa2
Add Netplay settings JNI layer and wire up NetplaySetupViewModel
2026-05-19 12:02:54 +02:00
Tom Pratt
f10022f2dc
Netplay setup UI
...
Only for connecting, no hosting yet.
2026-05-19 12:02:53 +02:00
Tom Pratt
c716c32ce8
Add compose dependencies for Android and empty NetplaySetupActivity
...
Derive compose colour theming from the existing XML styles already set at the activity level.
2026-05-19 12:02:53 +02:00
JosJuice
4470534dc5
Android: Move alert message log from Kotlin to C++
...
For some reason, NativeLibrary.kt calling Log for the alert message text
makes Dolphin die with a JNI error. Supposedly the jstring passed to the
logging function is invalid. I don't understand why, because the dialog
that we show right afterwards is able to read the string just fine. The
error happens even if I pass the string directly to Log without
prepending any extra text.
There's no real downside to having the logging in C++ instead of Kotlin,
so let's move it to C++ to avoid the JNI error.
2026-05-08 10:56:51 +02:00
Dentomologist
30a20d75d2
Merge pull request #14629 from Simonx22/android/convert-tvutil-to-kotlin
...
Android: Convert TvUtil to Kotlin
2026-05-07 13:23:48 -07:00
Simonx22
a7e98c776d
Android: Convert TvUtil to Kotlin
2026-04-30 16:23:32 -04:00
JosJuice
c73dde2193
Android: Remove HostThreadLock
...
Follow-up to 068947e . HostThreadLock no longer serves a purpose.
2026-04-29 18:55:18 +02:00
OatmealDome
af15769d57
Merge pull request #14569 from Simonx22/android/convert-gamefilecachemanager-to-kotlin
...
Android: Convert GameFileCacheManager to Kotlin
2026-04-26 12:03:57 -04:00
Dentomologist
a94854309b
Merge pull request #14608 from JosJuice/gcadapter-auto-start
...
GCAdapter: Automatically start and stop thread
2026-04-24 19:51:51 -07:00
JosJuice
cc01a60347
GCAdapter: Automatically start and stop thread
...
This keeps the logic encapsulated inside GCAdapter.cpp so callers don't
have to think about it.
2026-04-18 19:40:25 +02:00
JosJuice
4aaecbb148
Android: Add page table fastmem to Debug settings
2026-04-18 08:42:34 +02:00
OatmealDome
0cdb855434
Merge pull request #14567 from Simonx22/android/convert-wiimoteadapter-to-kotlin
...
Android: Convert WiimoteAdapter to Kotlin
2026-04-16 20:25:19 -04:00
Simonx22
301ca5fcb8
Android: Convert GameFileCacheManager to Kotlin
2026-04-16 16:46:24 -04:00
Simonx22
e982aeacad
Android: Convert GCAdapter to Kotlin
2026-04-06 19:56:27 -04:00
Simonx22
662b1d74a8
Android: Convert WiimoteAdapter to Kotlin
2026-04-06 18:21:07 -04:00
Jordan Woyak
d3275b9ffe
Merge pull request #14490 from Simonx22/android/convert-gamepropertiesdialog-to-kotlin
...
Android: Convert GamePropertiesDialog to Kotlin
2026-04-05 18:41:12 -05:00
Jordan Woyak
3bc6815c8b
Merge pull request #14503 from Simonx22/android/convert-syncprogramsjobservice-to-kotlin
...
Android: Convert SyncProgramsJobService to Kotlin
2026-04-05 18:37:57 -05:00
Tillmann Karras
f06aef4f83
Improve NAND import progress dialog
...
Now with cancel button and an actual progress bar. For simplicity, we do
two passes on the progress bar, one for loading the NAND into memory and
one for extracting it. The user directory is likely on an SSD, making
the extraction pass invisibly fast.
2026-04-04 22:02:45 +01:00
Jordan Woyak
26583fd026
HW/GBACore: Remove the GBA "Threads" setting. Make GBAs always run on dedicated threads in preparation for future improvements.
2026-04-02 18:11:29 -05:00
JosJuice
5167adc8df
Android: Add GBA settings
...
The following settings were excluded:
* Port 1-4 ROM: We're only supporting Game Boy Player for now
* Save in Same Directory as the ROM: Implementation nightmare due to SAF
2026-03-31 23:40:54 -05:00
Simonx22
dbeca0d134
Android: Refactor SyncProgramsJobService
...
Changes:
- Convert SyncProgramsJobService from Java to Kotlin.
- Replace AsyncTask/executor lifecycle handling with coroutine-based job execution and cancellation.
- Stop using restricted androidx.tvprovider builder APIs.
2026-03-24 23:05:00 -04:00
Simonx22
9085d649dc
Android: Add Keep annotation to JNI-exposed PermissionsHandler methods
...
This fixes an oversight from https://github.com/dolphin-emu/dolphin/pull/14488 where I forgot to add `@Keep` to JNI-exposed methods. R8 tried to optimize it and thought those methods were unused.
2026-03-24 18:42:19 -04:00
Simonx22
336f604b3a
Android: Pin R8 9.1.34 to fix release minify crash
...
Override AGP-bundled R8 in settings.gradle.kts:
- classpath("com.android.tools:r8:9.1.34") from r8-releases/raw
This resolves :app:minifyReleaseWithR8 failing with:
java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0
Bug report: https://issuetracker.google.com/issues/495458806
Co-Authored-By: OatmealDome <julian@oatmealdome.me>
2026-03-24 07:50:45 -04:00
OatmealDome
6608bca694
Merge pull request #14476 from Simonx22/android/version-catalog-latest-deps
...
Android: Use version catalog and update dependencies
2026-03-22 12:13:10 -04:00
OatmealDome
9ba08f70bc
Merge pull request #14489 from Simonx22/android/convert-applinkhelper-to-kotlin
...
Android: Convert AppLinkHelper to Kotlin
2026-03-22 12:12:50 -04:00
OatmealDome
125bc173bb
Merge pull request #14491 from Simonx22/android/convert-syncchanneljobservice-to-kotlin
...
Android: Convert SyncChannelJobService to Kotlin
2026-03-22 12:12:41 -04:00
OatmealDome
4a813a019b
Merge pull request #14495 from Simonx22/android/convert-startuphandler-to-kotlin
...
Android: Convert StartupHandler to Kotlin
2026-03-22 12:12:30 -04:00
OatmealDome
0e92a14703
Merge pull request #14488 from Simonx22/android/convert-permissionshandler-to-kotlin
...
Android: Convert PermissionsHandler to Kotlin
2026-03-21 12:14:53 -04:00
Simonx22
71f40469be
Android: Convert SyncChannelJobService to Kotlin
2026-03-21 11:29:09 -04:00
Simonx22
936a828cb7
Android: Convert AppLinkHelper to Kotlin
2026-03-21 11:25:42 -04:00
Simonx22
e878174235
Android: Use version catalog and update dependencies
...
Migrate plugin and dependency versions to a Gradle version catalog and update dependencies to their latest available versions.
2026-03-21 10:50:34 -04:00
Simonx22
8ced69e95d
Android: Convert GamePropertiesDialog to Kotlin
2026-03-20 15:15:17 -04:00
Simonx22
b5b5b6fb7d
Android: Convert StartupHandler to Kotlin
2026-03-20 13:14:06 -04:00
Simonx22
385ac49109
Android: Convert PermissionsHandler to Kotlin
2026-03-20 13:01:54 -04:00
Simonx22
b4933d3799
Android: Convert InsetsHelper to Kotlin
2026-03-20 12:59:27 -04:00
Simonx22
08f598f439
Android: Add ProGuard keep rules for classes and methods referenced in IDCache
...
Co-authored-by: OatmealDome <julian@oatmealdome.me>
2026-03-16 11:58:08 -04:00