45 Commits

Author SHA1 Message Date
JosJuice
7d6debb907 Android: Add disc image conversion 2020-09-16 18:38:07 +02:00
JosJuice
9c44ad11e3 Android: Set preferMinimalPostProcessing="true"
When using the combination of Android 11 and HDMI 2.1,
this will send a signal to the TV suggesting it to switch to
a low latency mode ("game mode").
2020-07-28 22:21:57 +02:00
JosJuice
95945a000e Android: Increase targetSdkVersion to 29
Since updating to 28 took us so long that Google Play started
requiring updates to target 28 before we actually merged the PR that
made us target 28, I'm trying to get the update to 29 done early.

Setting targetSdkVersion to 28 would normally force scoped storage
on us, which we do not support yet. However, we can easily
avoid this by setting android:requestLegacyExternalStorage="true".
There will be no such luxury with targetSdkVersion 30, however...
2020-07-12 12:02:37 +02:00
Anthony
155016531f
Merge pull request #8439 from JosJuice/android-native-motion-controls
Android: Native motion controls
2019-11-27 15:40:43 -08:00
JosJuice
b143df91be Android: Native motion controls 2019-11-20 18:22:20 +01:00
Simonx22
9d606a6ad0 migrate to AndroidX 2019-11-15 12:57:42 -05:00
Allan
7029ebd97b Fix for crash when switching to landscape mode
https://bugs.dolphin-emu.org/issues/10815
2019-08-04 13:47:19 -03:00
zackhow
df12942244 Android: Don't require vibrate permission
Google Play won't distribute the app to devices that do not allow
the vibrate permission if required is not false.
2018-10-25 17:13:10 -04:00
JosJuice
683eef3044
Merge pull request #7413 from zackhow/launcher-crash
Android: Run Directory Initialization as a thread instead of service
2018-10-05 15:45:36 +02:00
zackhow
1311f84706 Android: Run Directory Initialization as a thread instead of service
Two reasons for this change. First, it appears that some android launchers do some sort of call into
the application when long pressing the app icon, which in turn calls the DirectoryInit service. This
was ok to do prior to Oreo but will cause crashes with the new restrictions on services running
in the background. Which leads to the second reason that DirectoryInit doesn't need to be a service
at all since these actions are required for dolphin to function and shouldn't be a scheduled action.
So we instead just kick this off in a new thread and send the broadcast when done.
2018-09-14 09:54:36 -04:00
zackhow
126ff8dc5f Android: Add rumble for phone
This currently only supports using the internal vibrate on a phone for rumble.
2018-09-07 08:54:03 -04:00
riking
248ee12aed Reformat Android code 2018-08-26 21:37:54 -07:00
Mike
fda785c452 Android: whitespace fix 2018-08-23 18:32:29 -07:00
Mike
dd8d7bba98 Android: Get rid of the per-platform styles, as we only using the GC one.
I think the intention might have been to switch styles based on what
platform was selected, but that never happened. Instead, everything just
used the GC styles.

All the platform-specific styles did was add an accent color (which
tints the checkbox and text area elements). This adds a specific color for
that instead of abusing a platform color.

There should be no visual changes for this commit.
2018-08-23 18:32:29 -07:00
mahdihijazi
61835a7e08 Android: Start structure the project around features instead of data types
This only moves the settings feature, the rest will be moved slowely later
2018-08-03 21:41:34 +02:00
zackhow
0488fe1d30 Android: Support for AndroidTV Oreo Homescreen channels 2018-07-20 17:56:45 -04:00
mahdihijazi
03fd8ddce6 Disable automatic backup
Since we don't have proper confuguration file of what to include/exclude
in the backup, this better be disabled because it will lead to unexpected
state. This will solve any issue that was keep hapenning even after fresh
install of the emulator until you manually clear the app data.
2018-07-02 16:24:57 +02:00
JosJuice
1c027bc148 Use UICommon's game list code on Android
Deduplicates code, and gets rid of some problems the old code had
(such as: bad performance when calling native functions, only one
disc showing up for multi-disc games, Wii banners being low-res,
unnecessarily much effort being needed for adding more metadata).
2018-06-06 17:34:07 +02:00
Distro Lucas
dbeec37b0f Fixed aspect ratio bigger than 16:9 on Android Devices 2018-05-02 22:21:28 -03:00
mahdihijazi
409ae4c444 [Android] Replace current file browser
1. Allow users to pick games dircetory from external storage.
2. Better UX experince to distinguish between selecting a directory or
a game. The later is needed when we implement change disk for android.
2018-01-05 21:43:19 +01:00
mahdihijazi
1190afef51 [Android] Refactor AssetCopyService and the way we extract resources from the assets
This solves the following issues:
1. If user uninstall Dolphin and install it again the resources will
not be copied unless the user manually clear the app cache because we
are enabling the allowBackup flag in the manifest which will make the app
restore the settings saved in the shared prefernces including the flag
assetsCopied. This PR always copy the files everytime you open Dolphin.

2. If the AssetCopyService took long time and you tried to open the settings
screen or start a game the behaviour was not expected or the emulator will
crash, this PR make sure that whatever we add to the DirectoryInitializationService
or how long it will take will still work as expected by blocking both
the settings screen and the emulaion screen to wait untill all resources
needed are copied.

3. Better communication between the DirectoryInitializationService and the
UI screens using brocast messages.
2017-12-18 14:32:39 +01:00
Sean Maas
68affd37a1 Android: Remove unused stuff 2016-10-25 14:20:15 -04:00
sigmabeta
93056e3988 Change SettingsActivity label to "Settings" instead of "CPU Settings" 2016-01-31 10:06:00 -05:00
sigmabeta
d90dce6d12 Implement video settings + support for missing files / settings 2016-01-23 12:28:51 -05:00
sigmabeta
ce8a3d9bfb Implement basic framework for new Settings UI 2016-01-23 12:28:50 -05:00
sigmabeta
e34abd5739 Move TvMainActivity to ui.main package 2016-01-10 12:10:02 -05:00
sigmabeta
81657b6710 Refactor MainActivity to MVP architecture 2016-01-09 18:08:04 -05:00
sigmabeta
f58a8561f8 Refactor DB read code to use RxJava 2016-01-09 13:10:22 -05:00
sigmabeta
7c14996e3e Android TV: Implement game selector activity in new Android TV UI 2015-07-25 12:26:31 -04:00
sigmabeta
8b5b83c29a Android Refactor: GameGridActivity is now MainActivity, and uses a Toolbar that reacts to the game grid scrolling. 2015-06-23 21:54:09 -04:00
sigmabeta
fa2d06e7a4 Android: Switch all activities to AppCompat-based Material themes, and use Support Library version of Floating Action Button. 2015-06-23 21:54:02 -04:00
sigmabeta
82dea170cf Android: Don't delete the Input Overlay configuration screen. 2015-06-16 10:12:51 -04:00
Eder Bastos
6f3279d627 Android: Remove old UI references from manifest, and set the new UI Activity's title to "Dolphin Emulator' 2015-06-08 19:43:10 -04:00
sigmabeta
51cad1025c Android TV: File Dolphin under "Games" on the TV Launcher 2015-06-05 16:26:49 -04:00
Eder Bastos
920a85b846 Android TV: Add TV banner + some metadata. 2015-06-03 19:42:15 -04:00
Eder Bastos
b14bea8544 Android TV: Allow the app to be launched from an Android TV launcher. 2015-06-03 16:48:38 -04:00
Eder Bastos
286af8be50 Android: Implement new EmulationActivity. 2015-05-21 20:14:03 -04:00
Eder Bastos
3e5e352fee Android: Implement an SQLite database-based game library. 2015-05-20 19:55:55 -04:00
Eder Bastos
ba591ea1ee Android: Add Settings Activity to new UI. 2015-05-15 10:45:00 -04:00
Eder Bastos
bb7f8c6753 Move AssetCopyService to the services package. 2015-05-14 20:44:52 -04:00
Eder Bastos
4710c3e0eb Android: Build separate APKs for each native platform. 2015-05-13 22:45:12 -04:00
Eder Bastos
f3aec526b1 Add an IntelliJ settings file describing the Dolphin project code style. 2015-05-11 11:16:56 -04:00
Eder Bastos
24c6be9d0f Add File Browser screen to new UI. 2015-05-09 12:36:17 -04:00
Eder Bastos
b47835fc07 Implement first few screens of Android 5.0-based UI. 2015-05-07 22:27:42 -04:00
Eder Bastos
c80225ea4d Convert the Android source code to the directory structure of a Gradle-based Android Studio project. 2015-05-02 21:49:17 -04:00