Commit Graph

68 Commits

Author SHA1 Message Date
twinaphex
955e8e29c1 Change 'Resume Content' to 'Load RetroArch' 2015-01-04 15:14:15 +01:00
Lioncash
9e3587c96f Android: Handle case where core list could not be retrieved better 2014-12-18 13:44:17 -05:00
Lioncash
8b14bbc6e2 Android: Add context menu in the downloader for going to a core's wiki page 2014-12-18 13:44:08 -05:00
Lioncash
a0072efa60 Android: Initial early core downloader implementation 2014-12-13 17:11:32 -05:00
twinaphex
738d180816 Change some more instances of 'player' to 'user' 2014-12-05 14:21:04 +01:00
twinaphex
d21a0642fb (Android) GPL waiver - bump up year 2014-03-10 19:25:11 +01:00
twinaphex
998aac0765 (Android) Links to documentation changed 2014-01-03 00:26:02 +01:00
Lioncash
77fbe67dbe [Android] Fix a bug in the DetectCoreDirectoryFragment.
Would crash if an unsupported file was tapped twice because it would set the inFileBrowser boolean to false, thus leading to the attempt to launch said unsupported file. Fixes this.

Also made it display a brief toast if no cores support the extension of the file.
2013-12-20 12:47:39 -05:00
Twinaphex
1659adbfe9 Merge pull request #428 from lioncash/master
[Android] Implement core autodetect.
2013-12-18 17:04:12 -08:00
Lioncash
54d0911868 [Android] Implement core autodetect. 2013-12-18 20:00:20 -05:00
AridRayne
721fbeda7e Added an iCade profile for the Moga Hero Power controller, it might work
with other Moga controllers that have a HID mode.
2013-12-16 08:41:41 -08:00
twinaphex
f5edd42535 (Android Phoenix) Add 'permissions' to ModuleWrapper etc. 2013-12-14 21:51:21 +01:00
Lioncash
f57210cb41 Fix duplicate string declarations in strings.xml. 2013-12-09 02:23:57 -05:00
twinaphex
fc11d4501d (Apple/Android) Rename more 'game'/'emulator' strings 2013-11-26 23:15:05 +01:00
twinaphex
d8b5ac7a83 Reword README.md and rewrite 'game' strings 2013-11-26 23:09:12 +01:00
twinaphex
a7b34ec794 (Android) Implement all back behaviors 2013-11-26 13:41:33 +01:00
twinaphex
6c638f91f4 (Android) Big changes -
- both MainMenuActivity and RetroActivity are single instances now
- AKEYCODE_BACK gets eaten and onBackPressed in Java is triggered
- onBackPressed right now calls an instance of MainMenuActivity
(reuses the existing activity on the stack)
- User can switch back and forth between RetroActivity and MainMenuActivity
with AKEYCODE_BACK / Back button
- When a subsequent intent is launched after RetroActivity has already been
started up once, the pending intent gets passed to the existing RetroActivity
throug onNewIntent - in C land it will look every frame if an intent is pending - if it is, it will look up certain variables through JNI to launch a new game - or whatever it is that the intent wants to do
- With this we can now switch seamlessly between Android UI and RetroArch
itself.
2013-11-24 22:02:57 +01:00
Lioncash
4b79284064 {Android] Fix a string's casing and structure. 2013-11-17 02:55:12 -05:00
Lioncash
114cf4e926 [Android] Initial huge underlying UI update:
- The UI is now mostly Fragment-centric (finally!)
- The Load Core, Load Game, Load Game (History) are now DialogFragments.
- The directory activities are killed off and consolidated into one fragment named DirectoryFragment.

DirectoryFragment is now a self-contained instantiable DirectoryFragment that can be instantiated anywhere by doing roughly the following.

DirectorFragment dFrag = DirectoryFragment.newInstance(/* Resource ID for a string title here*/);
dFrag.show(getFragmentManager(), "tag");

There are also other methods that were modified within the DirectoryFragment, such as addAllowedExt and disAllowedExt being changed to support a variable amount of arguments. This way, multiple calls of the same function aren't necessary in the case of adding multiple extensions, as well as supporting the case where only one extension is added.

DirectoryFragment also has a new interface added to it called OnDirectoryFragmentClosedListener. Say you have a DirectoryFragment instance, but want to use the selected item's path for something *after* the dialog has closed, with this interface, it is now possible. Just implement this interface within an Activity or Fragment, and then set the DirectoryFragment to use the listener through setOnDirectoryFragmentClosedListener() method.

Now what happens if this isn't set, wouldn't it be pointless to even use a DirectoryFragment in this case?
Not necessarily. What if you only wanted to save the selected item into the applications SharedPreferences?
This is a situation where it would be unnecessary to need that interface. So, to make a DirectoryFragment.java for the sole purpose of saving a selected directory/file path to the SharedPreferences, you would do this:

DirectoryFragment dFrag = DirectoryFragment.newInstance(/* Resource ID to a string title here*/);
dFrag.setPathSettingKey("key to store value in SharedPreferences at");
dFrag.show(getFragmentManager(), "tag");

Outside of these major changes, large portions of the code outside of this were simplified.
2013-11-17 02:37:33 -05:00
Lioncash
48fd723015 [Android] Add an info view to the core manager InstalledCoresFragment. Also added a dual-fragment layout of this for tablet devices as well. 2013-11-06 23:39:15 -05:00
Lioncash
801af3be81 [Android] Add rewinding granularity to the general settings. 2013-11-04 11:19:50 -05:00
twinaphex
334fe12d75 (Android Phoenix) Fix apostrophe - needs to be escaped 2013-11-01 03:17:48 +01:00
ToadKing
816f2f6d47 waiver text update 2013-10-31 21:06:37 -04:00
twinaphex
7021ada78f (Android) Add GPL license waiver dialog box - text will need further
refinement
2013-11-01 01:47:20 +01:00
twinaphex
0f67501354 (Android) Remove note about GPU requirements shaders 2013-10-31 17:04:49 +01:00
Lioncash
97c1745909 Revert "[Android] Move the main activity to use Fragments."
This is pretty pointless at the moment actually.

This reverts commit bfdc1e0e60.

- Keeps some modifications to the MainMenuActivity. Most notably the title string retains itself upon orientation changes.
- Also fix some bugs in the PreferenceListFragment. Most notably, the handler message not being removed.
2013-10-31 04:59:24 -04:00
Lioncash
bfdc1e0e60 [Android] Move the main activity to use Fragments.
Cleaned up the main activity as well.
2013-10-31 04:00:33 -04:00
Lioncash
490f35a6c3 [Android] InstalledCoresFragment is now functional. Complete with alphabetic sorting and the ability to uninstall cores. 2013-10-30 18:20:50 -04:00
Lioncash
8453002ee0 [Android] Initial skeleton for the core manager. Not functional yet. 2013-10-30 00:55:41 -04:00
Chris Merrett
3ec7065238 Added Android support for cheap G910 gamepad. 2013-10-22 22:31:48 +01:00
Lioncash
7c0f177090 [Android] Edit a string so it fits the preferences better. 2013-10-17 01:51:17 -04:00
Lioncash
9121aea91e [Android] Eliminate the need for the ReportIME activity. We can just add a listener for the preference within InputPreferenceFragment. 2013-10-15 10:28:02 -04:00
Lioncash
ce42fccdc7 [Android] Very large reworking of the preferences. It uses fragments to handle preferences, not to mention the entirety of the preferences has been moved into a viewpager/tab-nav combo.
This commit breaks per-core configs. Will be fixed very soon.
2013-10-11 17:41:22 -04:00
Lioncash
1f6161b45e Missed one string in DisplayRefreshRateTest.java. Now everything that matters should be within strings.xml now. 2013-09-27 02:30:38 -04:00
Lioncash
9310e1face RetroArch now fully capable of multi-language support. 2013-09-27 02:24:46 -04:00
Lioncash
a33863f0f2 Initial basic multi-language support. 2013-09-27 00:58:05 -04:00
Lioncash
a04e2ff11a Use a precomposed ellipsis for the asset extraction string in strings.xml 2013-09-27 00:24:53 -04:00
twinaphex
ac9e0025e2 (Android Phoenix) Add 96ms audio latency option as well 2013-09-14 15:03:20 +02:00
twinaphex
0245f926d1 (Android Phoenix) Set configurable audio latency 2013-09-13 15:57:13 +02:00
Themaister
dd2d8009ca Add ProgressBar for asset extraction. 2013-08-16 14:46:36 +02:00
twinaphex
b8ca1323a9 (Phoenix Android) Clean up UI 2013-08-10 22:58:04 +02:00
twinaphex
95cf04f1e1 (Android) Add iPega PG9017 Mode 2 autodetection 2013-08-07 01:12:46 +02:00
twinaphex
66b4510237 (Android/Shield) Add optimal settings option 2013-08-02 14:58:51 +02:00
ToadKing
157deb19fb (Android) fix crash on Gamestop Wireless iCade profile 2013-06-05 20:33:22 -04:00
twinaphex
cb84451542 (Android) Add Gamestop Wireless, Tomee NES USB, and Thrustmaster T Mini
Wireless to autodetection list
2013-05-26 01:13:24 +02:00
twinaphex
eb0feac9e3 (PS3/All) Purge fixed-style shaders again - this time avoiding
breakage on PS3. Maister -you will need to redo shader_parse.c
again though - and this time I need to test it on PS3 to avoid
a regression that happened two pages prior again
2013-04-06 05:46:09 +02:00
twinaphex
6899434609 (Android) Add back button behavior option 2013-03-07 15:21:17 +01:00
twinaphex
8936f058c4 (Android) Add iCade profile iPega 2013-02-11 01:39:06 +01:00
twinaphex
fa582bf15e (Android) Add ICade profile option 2013-02-09 11:44:50 +01:00
twinaphex
b560e58fb0 (Android) Add help system in Java frontend 2013-02-08 01:15:34 +01:00