1920 Commits

Author SHA1 Message Date
JosJuice
584366cb68 Merge pull request #14794 from JosJuice/android-title-database
Android: Use TitleDatabase for game list
2026-11-04 19:46:41 +01:00
iwubcode
86d554802d Merge pull request #14596 from CySlaytor/master
feat(retroachievements): implement achievement notification sounds
2026-11-01 00:10:58 -05:00
CySlaytor
56076f403d feat(retroachievements): implement achievement notification sounds 2026-11-01 01:29:01 +00:00
JosJuice
c4856ead64 Merge pull request #14878 from vhoxha08/add-global-hotkeys-android
Android: Add global hotkeys
2026-10-31 16:17:25 +01:00
visarhoxha
f0ef800161 Android: Avoid constant hotkey polling to save battery
Only poll for hotkeys while EmulationActivity is resumed and at least
one supported hotkey is mapped. Otherwise the scheduler thread waits on
an event instead of polling.
2026-10-19 12:22:32 +02:00
Tom Pratt
66657167e3 Android: Trigger netplay game digest check
Also trigger abort / dismiss from the host when closing the dialog.
Add explicit "finished" property to GameDigestProgress since the UI is different depending on this state.
2026-10-07 20:51:03 +02:00
Jordan Woyak
f87e849a0a Merge pull request #14889 from tom-pratt/local-network-permission
Request ACCESS_LOCAL_NETWORK permission on android 17 and up
2026-10-05 15:26:10 -05:00
JosJuice
a475aba718 Merge pull request #14857 from ChaseParate/chaseparate-android-add-reset-menu-item
Android: Add reset item to emulation menu
2026-10-02 20:56:00 +02:00
Admiral H. Curtiss
bd094a0de5 Merge pull request #14890 from lihanchen/master
Android: Fix UI text truncation in 4K TV UI
2026-10-02 19:58:16 +02:00
JMC47
24c80c5a32 Merge pull request #14590 from jordan-woyak/mmu-256-mem2
PowerPC/MMU: Change mask in DMA_LCToMemory and DMA_MemoryToLC functions to allow for a 256MiB MEM2.
2026-10-02 06:29:32 -04:00
JosJuice
5102a0339c Merge pull request #14893 from tom-pratt/android-settings-crash
Fix android settings crash on API level 28 and lower
2026-09-28 08:24:28 +02:00
JosJuice
5f395ab792 Android: Set abiFilters for ndk
Normally, Dolphin APKs have a lib folder that contains two subfolders:
arm64-v8a and x86_64. Both contain a libmain.so file, and arm64-v8a also
contains additional .so files for libadrenotools.

When we added netplay support for Android, we brought in Jetpack Compose
as a dependency, which in turn made libandroidx.graphics.path.so be
included in Dolphin APKs. Unfortunately, this .so file was included not
only for arm64-v8a and x86_64, but also for armeabi-v7a and x86. This
made Dolphin installable on devices that use one of these older ABIs,
but because libmain.so is missing, trying to start Dolphin on such a
device results in an instant crash. We have gotten a number of Google
Play reviews from armeabi-v7a users complaining about this crash.

This fixes the problem by setting abiFilters under ndk instead of under
cmake, as documented at https://developer.android.com/ndk/guides/abis.
2026-09-27 21:31:29 +02:00
Tom Pratt
b5748b81d6 Fix android settings crash on API level 28 and lower
These API levels don't allow color selectors to be used as backgrounds.

Switch to MaterialDivider and set the color via dividerColor instead of background.
2026-09-27 21:04:53 +02:00
Hanchen Li
a975e7a235 Fix UI text truncation in 4K TV UI 2026-09-26 16:59:44 -07:00
Tom Pratt
36128b9865 Request ACCESS_LOCAL_NETWORK permission on android 17 and up
Show the permission dialog the first time host or connect is clicked.

While the permission is not granted, show an info box at the bottom of the netplay setup screen explaining the need for the permission with a button to grant permission. Launch the app settings menu where the permission can be granted manually if the user has denied twice previously preventing us from showing the permission dialog.

Workarounds using the shouldShowRationale flag and detecting if the dialog showed via onPause to account for well known limitations in the android permissions API.
2026-09-26 22:58:39 +02:00
Jordan Woyak
9599525ea1 PowerPC/MMU: Changed mask in DMA_LCToMemory and DMA_MemoryToLC functions to allow for a 256MiB MEM2.
Also adjusted maximum value for MEM2 to 256 MiB for Qt and Android UIs.
2026-09-21 13:37:59 -05:00
visarhoxha
98c229ef79 android: add global hotkeys 2026-09-18 20:29:36 +02:00
Chase Harkcom
9e91582b95 Add reset menu item to Android app 2026-09-10 14:54:46 -06:00
JosJuice
30c9669d7b Merge pull request #14750 from tom-pratt/netplay-controller-mapping
Android: Netplay controller mapping
2026-08-29 11:19:47 +02:00
JosJuice
9b50b88d2e Merge pull request #14829 from TorresOwO/fix-skylanders-crash-13956
Android: Fix Crash when loading Skylanders file
2026-08-29 11:15:38 +02:00
Tom Pratt
0bca7edf20 Fix netplay crash on pre API 31 devices
TypedArray doesn't implement AutoCloseable on older devices so .use{} caused a crash.

It turned out the special handling for background colours was unnecessary anyway.
2026-08-28 14:11:50 +02:00
JMC47
4f8af23db5 Merge pull request #14718 from JosJuice/android-vibration-length
Android: Make vibration length variable
2026-08-27 12:48:49 -04:00
Sergio Torres
b1e360e1e4 Android: Use OpenDocument for NFC figures and fix crash (Fixes #13956)
- Switch from ActivityResultContracts.GetContent() to OpenDocument()
  which restores ACTION_OPEN_DOCUMENT behavior, granting write access
  to file descriptors opened in C++ via ContentHandler.openFd().
- Replace unsafe force-unwraps (!!) in EmulationActivity with null checks.
2026-08-26 00:49:43 +02:00
Tom Pratt
e6f5516ad7 Android controller mapping UI
UI for assigning netplay players to gamecube ports and wii remotes.
2026-08-24 19:36:00 +02:00
Tom Pratt
df4c394fc3 Netplay PlayerTable fixes
- Improve the column measurement logic so it updates the column width when text changes.
- Use matchParentSize on the clickable target in OutlinedBox so that it is clickable when the OutlinedBox contains contents with dynamic height.
2026-08-24 19:36:00 +02:00
Tom Pratt
3236c634d9 Add functionality to get and set controller mappings in Android 2026-08-24 19:36:00 +02:00
JosJuice
474fa6e6f2 Merge pull request #14742 from Simonx22/android/settings-search-next
Android: Add global settings search
2026-08-23 12:19:09 +02:00
JosJuice
a9c36ee2ef Merge pull request #14735 from tom-pratt/dual-core-warning
Android: Dual core warning when hosting netplay
2026-08-16 11:05:39 +02:00
JosJuice
49ebb1cfea Android: Use TitleDatabase for game list
By using the title database we ship with Dolphin, we get more uniform
game titles than if we grab what's in each game's opening.bnr file.
It also becomes possible for users to supply a custom titles.txt file.

This has been implemented in DolphinQt since a long time ago.
2026-08-15 10:44:28 +02:00
JosJuice
c64b02dace Android: Remove runRescanAfterLoad from GameFileCacheManager
A small additional cleanup made possible by the previous commit.
2026-08-15 10:36:41 +02:00
JosJuice
9db6daadd8 Android: Use coroutines in GameFileCacheManager
Some modernization to prepare for an upcoming commit.
2026-08-15 10:36:41 +02:00
JosJuice
2514407451 Android: Clean up setting rescanInProgress in GameFileCacheManager
We can avoid the workaround of setting rescanInProgress to true in
load() if we don't set it to false in rescan()'s early exit.
2026-08-15 10:36:41 +02:00
Simonx22
93706022d5 Android: Reformat settings search files 2026-07-25 11:36:57 -04:00
Simonx22
893be0996e Android: Add global settings search 2026-07-25 11:36:57 -04:00
Joshua Vandaële
808a82d5dd CMake: Bump minimum requirement to 3.25 2026-07-24 03:45:13 +02:00
Tom Pratt
6877e436fb Android: Dual core warning when hosting netplay
Using dual core during netplay seems sufficiently detrimental that its worth showing this warning message and the option to turn dual core off when starting netplay.
2026-07-19 20:30:53 +02:00
Tom Pratt
009a87de59 Scaffold / Appbar composable
Custom composable that switched between compact and medium size app bar depending on a combination of orientation and screen size. (Small app bar when horizontal on small devices, medium app bar otherwise. Medium app bar supports collapse on scroll.
2026-07-13 12:34:06 +02:00
OatmealDome
990b421233 Merge pull request #14728 from Simonx22/android/api37-ndk30-dependency-updates
Android: Update dependencies and build tools
2026-07-13 01:00:52 -04:00
OatmealDome
f544fbc0ae Merge pull request #14630 from Simonx22/android/convert-contenthandler-to-kotlin
Android: Convert ContentHandler to Kotlin and fix warnings
2026-07-13 01:00:44 -04:00
Simonx22
aeb3fec03a Android: Update dependencies and build tools
Update Android dependencies and build tools to their latest available versions.

Rename the GameCube save magic constant to avoid a collision with the NDK 30 ARM64 signal context header.
2026-07-12 10:17:39 -04:00
cristian64
f9ef6c2151 Android: Update description for Enable Emulated Memory Size Override. 2026-07-11 23:02:54 +01:00
Simonx22
c93af1d3f9 Android: Convert ContentHandler to Kotlin and fix warnings 2026-07-11 12:33:11 -04:00
Dentomologist
6de526c684 Merge pull request #14716 from tom-pratt/chat-message-colours
Android: Coloured netplay chat messages
2026-07-09 12:25:06 -07:00
JosJuice
b67188cc44 Android: Make vibration length variable
Previously we would vibrate for 100 ms on every vibration, which was
especially annoying if a game was doing a bunch of vibrations that were
supposed to be much shorter than that. Now we tell Android to vibrate
for 10 s, then cancel the vibration as soon as the game turns the
vibration off.
2026-07-09 21:05:10 +02:00
Dentomologist
2e07d3b4a8 Merge pull request #14702 from JosJuice/android-vibration-usage
Android: Set USAGE_MEDIA for rumble
2026-07-08 17:25:54 -07:00
JosJuice
424269ed4b Android: Silence deprecation warnings in ControllerInterface
We have to use the deprecated APIs when running on old devices.
2026-07-08 23:13:07 +02:00
Tom Pratt
11cf49de06 Android: Coloured netplay chat messages 2026-07-07 23:26:06 +02:00
Dentomologist
774200dcf4 Merge pull request #14689 from JosJuice/android-internal-resolution-display
VideoCommon: Use XFB for internal resolution stats
2026-07-05 13:28:31 -07:00
JosJuice
2dfb23267c Merge pull request #14619 from JosJuice/no-si-change-device
Core: Remove SerialInterfaceManager::ChangeDevice
2026-07-05 17:33:02 +02:00
JosJuice
d27d96a7ce Merge pull request #14623 from Simonx22/android/convert-eglhelper-to-kotlin
Android: Convert EGLHelper to Kotlin
2026-07-05 17:32:27 +02:00