166 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
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
Lioncash
b2be996e67 Fix crashing in the core manager for devices on Android 2.3.x
Also remove a now non-existent activity reference from the AndroidManifest.
2013-12-15 10:37:50 -05: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
03ca0d89b2 (Android) Replace logo 2013-11-29 00:25:43 +01: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
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
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
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
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 bfdc1e0e601a85db973adc49215e5c77719e2d7e.

- 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
twinaphex
967e1e2846 (Android) Change packagename from org.retroarch to com.retroarch 2013-10-30 03:06:54 +01:00
Chris Merrett
3ec7065238 Added Android support for cheap G910 gamepad. 2013-10-22 22:31:48 +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
7c0f177090 [Android] Edit a string so it fits the preferences better. 2013-10-17 01:51:17 -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
Squarepusher
c0d4f3275d Merge pull request #338 from lioncash/master
Move the settings menu over to one menu, while also being Fragment based.
2013-10-13 20:06:52 -07:00
ToadKing
73bb9d23e0 add intent and icon for Ouya 2013-10-13 20:48:17 -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
5df0f7e2d1 [Android] Made DirectoryActivity extend a ListActivity, since that's basically what its purpose is - to act as a list view. 2013-10-10 02:27:58 -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
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