summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/java
AgeCommit message (Collapse)Author
2017-09-10Merge pull request #6034 from JonnyH/WIP/fix-android-null-SettingsSection-crashMarkus Wick
Fix some Android UI crashes opening 'settings' menus
2017-09-09Remove trailing spaces from Android filesJosJuice
Android Studio wants to correct these automatically when editing files.
2017-09-08Android UI: remove some unnecessary null pointer catchesJonathan Hamilton
These can no longer happen during 'normal' use (IE if the setting was missing)
2017-09-08Android SettingsFragmentParser - remove ad-hoc SettingSection constructionJonathan Hamilton
Now the SettingsSection map constructs a new SettingsSection at .get() time, these are no longer needed
2017-09-08Avoid crashes due to null SettingsSectionsJonathan Hamilton
If a SettingsFile had at least one section, it was assumed all sections were correctly filled out. This caused crashes when opening the settings menus if that was not the case - for example the GFX.ini settings empty sections are removed by the main dolphin app, putting the .ini file in a state that would crash the settings window if at least one setting was changed in it from the default, some sections were left as default. This adds a subclass of HashMap<String, SettingSection> that constructs a new SettingSection instead of returning 'null' if the key isn't found, so the mSettings.get(FILE).get(SECTION).get(SETTING) pattern can be safely used.
2017-09-08Merge pull request #5959 from mahdihijazi/tv_version_numberMarkus Wick
[Android] Show the version number on the title for the Android TV UI
2017-08-28Merge pull request #5969 from JosJuice/android-filenameLeo Lam
MainAndroid: Remove s_filename
2017-08-23Make the Android settings parser a bit more robustJonathan Hamilton
It would fail on lines line "Value =" - IE a value set to emptystring. This would cause the app to crash when trying to open the corresponding settings window.
2017-08-23MainAndroid: Remove s_filenameJosJuice
This fits better as a function parameter than as global state.
2017-08-21[Android] Show the version number on the title for the Android TV UImahdihijazi
- Stop reading version number from native code and use the one from BuildConfig - Show the version number on the title for the Android TV UI
2017-08-20[Android] Cleanup unused resources & codemahdihijazi
2017-08-01Android: Fix ubershader hybrid settingStenzek
2017-07-30VideoConfig: Add config options for ubershadersStenzek
2017-05-18Android: Initialize video backend setting on first runSean Maas
2017-05-15Android: Prevent stuck on-screen buttonsSean Maas
2017-05-14Android: Animate onscreen joystickSean Maas
Invalidate more often, display nub as pressed when in use, and implement basic nub bounds.
2017-05-14Android: Add pressed state to the on-screen controllersMahdi Hijazi
Now the buttons will be shown in different color to indicate a press event
2017-05-03[Android] Fix crash on the Android TVMahdi Hijazi
Whenever the EmulationActivity crashes and the app gets back to the TvMainActivity, dolphin will crash tring to restor the mBrowseFragment since we don't save the adapter data in the bundle. This is quick hack to avoid the crash. The proper fix would be to save the adapter data in the bundle and restore it before restoring the fragment when the activity gets recreated. Crash Stacktrace: Process: org.dolphinemu.dolphinemu.debug, PID: 30353 java.lang.RuntimeException: Unable to start activity ComponentInfo{org.dolphinemu.dolphinemu.debug/org.dolphinemu.dolphinemu.ui.main.TvMainActivity}: java.lang.IllegalArgumentException: Invalid position 1 requested at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2691) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2752) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1461) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6120) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) Caused by: java.lang.IllegalArgumentException: Invalid position 1 requested at android.support.v17.leanback.app.BrowseFragment.createMainFragment(BrowseFragment.java:509) at android.support.v17.leanback.app.BrowseFragment.replaceMainFragment(BrowseFragment.java:1454) at android.support.v17.leanback.app.BrowseFragment.setAdapter(BrowseFragment.java:764) at org.dolphinemu.dolphinemu.ui.main.TvMainActivity.buildRowsAdapter(TvMainActivity.java:183) at org.dolphinemu.dolphinemu.ui.main.TvMainActivity.onCreate(TvMainActivity.java:59) at android.app.Activity.performCreate(Activity.java:6664) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2644) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2752)  at android.app.ActivityThread.-wrap12(ActivityThread.java)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1461)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:154)  at android.app.ActivityThread.main(ActivityThread.java:6120)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) 
2017-05-03[Android] Add the missing Stereoscopic optionsMahdi Hijazi
2017-04-30[Android] Fix edit controls layoutMahdi Hijazi
Not checking the none existing key in the buttonsActionsMap leads to break the sub menu of the configure controls menu on Android phones.
2017-04-27[Android] Fix game bannersMahdi Hijazi
Use Bitmap.setPixels() instead of Bitmap.copyPixelsFromBuffer() the former use non pre-multiplied values of the colors which is what we expect to come from the native code.
2017-04-18Android: Add audio stretch settingMerryMage
2017-04-16x86-64 support on AndroidJosJuice
We can do this now that the x86-64 JIT supports PIE. JITIL is deliberately excluded from the GUI because it doesn't support PIE yet. (JITIL will be used if it's set in the INI, though.)
2017-04-03Merge pull request #5118 from mahdihijazi/masterMarkus Wick
[Android] Load the game banner from the ROM and use it if no screenshot is available
2017-04-01Android: Add option for enabling GPU texture decodingStenzek
2017-03-25Update to Android SDK 25Mahdi Hijazi
This handles the new permission system in Android M.
2017-03-24[Android] Load the game banner from the iso and use if no screenshot is ↵Mahdi Hijazi
available It doesn't look that good since the banners are 96x32 but it still better than nothing.
2017-03-18Fix loading the saved screen shots for Android versionMahdi Hijazi
Apparently the path was changed from using "/thump.png" to using "/gameId-#.png". We will always use the first screenshot for the game broswer wich will be "/gameId-1.png"
2017-03-18Fix menu actions on Android TVMahdi Hijazi
Saving screenshot was not working due to 2 problems. The first one is that the view id of the save screenshot in the Android TV fragment doesnt match the one declared inside the menu_emulation. Second Problem will be fixed in another commit. This commit chnage the code to not depend on reusing the ids of the menu everywhere in the emulator inorder for the onMenuItemClicked to work. Instead you need to call EmulationActivity.handleMenuAction passing the action to handle regardless of the ids you are using in the view.
2017-02-16Android: Sort configuration ini filesntruhan
2017-01-10Android: Change Exit Without Saving to Save and ExitSean Maas
2017-01-09Android: fix software renderer 2nd editionTillmann Karras
2017-01-08Android: fix software renderer settings stringTillmann Karras
2016-12-18Add TGC disc image compatibilityJosJuice
2016-11-29Android: Fix Wii bindings resetting everythingSean Maas
2016-11-26Android: Add input binding menusSean Maas
2016-11-26Android: Add InputBindingSetting classSean Maas
Also update MotionAlertDialog to work with the new setting, and remove the old InputBindingPreference.
2016-11-14Android: Specify ini file for every settingSean Maas
Load all the inis at once, choose which one to write to, and save them all at the same time. This allows us to modify settings from different files on the same settings page.
2016-11-06Android: Fix inverted EFB settingsSean Maas
2016-11-03Change "Wiimote" to "Wii Remote" in LogsPringo
2016-10-30Clear screenshot in game grid before attempting to render on Android TV devicessigmabeta
2016-10-26Merge pull request #4389 from SeannyM/android-dir-restrictMarkus Wick
Android: Allow accessing all folders
2016-10-25Android: Fix screenshots on game listSean Maas
2016-10-25Android: Allow accessing all foldersSean Maas
2016-10-25Android: Remove unused stuffSean Maas
2016-10-25Android: Cleanup formattingSean Maas
2016-10-24Android: Fix "up one level" buttonSean Maas
2016-10-15Merge pull request #4347 from SeannyM/android-wii-controlshuffle2
Android: On-screen classic controller + Wii controller select
2016-10-15Android: Fix some settingsSean Maas
2016-10-13Android: On-screen classic controller + Wii controller selectSean Maas
It's now possible to switch between a horizontal or vertical Wiimote with no extension, a Wiimote with a Nunchuk, a Classic Controller, or a GameCube Controller when running a Wii game.