Commit Graph

88 Commits

Author SHA1 Message Date
twinaphex c090ee634c (Android) Remove debug_input_enable 2014-06-20 07:03:06 +02:00
twinaphex 86ee594b68 (Android frontend) Take out audio_latency_auto - now handled in native activity 2014-06-13 00:36:58 +02:00
twinaphex d7c327708f (Android frontend) Get rid of icade and back_button_behavior 2014-06-11 01:56:30 +02:00
twinaphex 998aac0765 (Android) Links to documentation changed 2014-01-03 00:26:02 +01:00
Lioncash 54d0911868 [Android] Implement core autodetect. 2013-12-18 20:00:20 -05:00
Lioncash f57210cb41 Fix duplicate string declarations in strings.xml. 2013-12-09 02:23:57 -05: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 8a66d5ceef [Android] Get rid of RetroTVMode. We don't need this anymore, since the wonky logic that it was used to work around before has been fixed. 2013-11-19 21:05:26 -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
twinaphex cb1381c94f (Android) Take out all FAQs 2013-11-05 15:21:35 +01:00
twinaphex 5bb65b9fa7 (Android) Remove What's New - too much maintenance cost 2013-11-05 13:51:40 +01:00
twinaphex 8666c9e64f Remove some obsolete help pages 2013-11-05 13:47:42 +01:00
Lioncash 801af3be81 [Android] Add rewinding granularity to the general settings. 2013-11-04 11:19:50 -05:00
Lioncash 8453002ee0 [Android] Initial skeleton for the core manager. Not functional yet. 2013-10-30 00:55:41 -04:00
twinaphex 967e1e2846 (Android) Change packagename from org.retroarch to com.retroarch 2013-10-30 03:06:54 +01:00
Lioncash e6917787ee [Android] Place the ListPreference for aspect ratio at the top of its PreferenceCategory. Makes it look cleaner in terms of how the preferences are laid out. 2013-10-17 02:05:08 -04:00
Lioncash c26a6f8015 [Android] Clarify the preference categories in the XML better. 2013-10-17 01:46:14 -04:00
Lioncash e622fc9f4d [Android] Remove the need for RefreshRateSetOS. This can be done with a preference listener within VideoPreferenceFragment. 2013-10-15 10:54:40 -04:00
Lioncash b1a48dea51 [Android] Remove the need for IMEActivity. We can also do this within InputPreferenceFragment. 2013-10-15 10:40:15 -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 e177f6f35a [Android] Add comments to prefs.xml to clarify which section starts where within the XML. 2013-10-10 10:31:03 -04:00
Lioncash 547219c244 [Android] Put the directory activities into a separate package to keep them separate from the rest of the files. Do the same for preference classes as well. 2013-10-08 19:50:23 -04:00
Lioncash 9310e1face RetroArch now fully capable of multi-language support. 2013-09-27 02:24:46 -04:00
twinaphex 0245f926d1 (Android Phoenix) Set configurable audio latency 2013-09-13 15:57:13 +02:00
twinaphex e6f527e992 (Android Phoenix) Add ability to set automatic audio latency option on/off 2013-09-13 15:17:57 +02:00
twinaphex 0b45fb1483 (Android Phoenix) Set default values for ListPreferences 2013-09-11 11:00:43 +02:00
Themaister ae5221947a IME config fixups. 2013-08-24 12:52:47 +02:00
twinaphex 220411be67 (Android Phoenix) Preliminary per-core config settings - maister:
things like ROM path don't currently work correctly per core when
configured individually - please look at it
2013-08-19 01:14:01 +02:00
twinaphex 05ae971aae (Android) We now select a core first with 'Load Core', then select a game.
Opens the door for per-core config files - also remembers the core from the
last previous session
2013-08-18 21:02:41 +02:00
Themaister 758dc7e196 Add Load Game (History) to Android frontend.
Also cleanup core selection list a bit to be more readable.
2013-08-16 12:16:19 +02:00
twinaphex 963f206456 Bump to version 0.9.9.6 2013-08-16 03:57:29 +02:00
twinaphex 6fd04e1e0e (Android Phoenix) Add TV mode - boot straight into RGUI 2013-08-14 04:17:30 +02:00
Themaister 16ca310f93 Add high latency audio support for Android.
Should fix ghetto hardware again.
2013-08-12 20:13:06 +02:00
twinaphex fc4a6b6250 (Android Phoenix) Rename RetroArch.java to CoreSelection.java 2013-08-12 18:48:07 +02:00
twinaphex 7abe27de81 (Android Java) Create separate class for ReportIME 2013-08-12 05:51:33 +02:00
twinaphex b6370d2441 (Android Java) Set threaded video to default - Shield/Nexus 7 2013 now simply an
'OK' messagebox
2013-08-12 01:51:49 +02:00
twinaphex b8ca1323a9 (Phoenix Android) Clean up UI 2013-08-10 22:58:04 +02:00
Themaister 681d24ee3a Reword XML shaders to GLSL shaders. 2013-08-01 20:05:15 +02:00
robin007bond 41839c345a Update prefs.xml
Changed 'phone' to 'device', because RetroArch runs on tablets too.
2013-07-08 18:40:38 +02:00
Jean-Sébastien Guay 65cb65671f android/native/jni/input_android.c:
- Fixed off-by-one when using g_settings.input.icade_count to index in array of icade profiles. It has just been incremented...
- Added setting actual device names instead of generic "Broadcom Bluetooth HID" so the libretro menu shows it. Also added a bit of logging when detecting generic devices and selecting an icade profile.
- Fixed some wrong button assignments for iPega controller.
- Added a note about the dpad buttons not working, it's the next thing I want to fix.

android/phoenix/res/xml/prefs.xml:

- Fixed key names for icade profiles, input_autodetect_icade_profile_pad0 does not exist in the config as given in the root settings.c file, they start at 1.
2013-07-03 21:41:19 -04:00
ToadKing bbe4a65881 (ANDROID) config file changes mean we have to explicitly set the system directory in the config file 2013-05-26 15:45:00 -04: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 25767ef013 Revert "More scrubbing"
This reverts commit 5bfa31fa86.
2013-04-06 03:53:35 +02:00
twinaphex 5bfa31fa86 More scrubbing 2013-04-06 00:21:17 +02:00
twinaphex 6899434609 (Android) Add back button behavior option 2013-03-07 15:21:17 +01:00
Themaister 4427e5964e Auto savestate load is true by default. 2013-02-23 17:53:47 +01:00
Themaister 034c553ff6 Merge branch 'master' into thread_video
Conflicts:
	console/griffin/griffin.c
2013-02-17 13:25:41 +01:00
Themaister a4fc614a03 Add integer scale to Android. 2013-02-17 13:11:26 +01:00
Themaister 351d5d2682 Clarify in alert a bit. Make threaded mode non-default. 2013-02-17 00:45:30 +01:00