48 Commits

Author SHA1 Message Date
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
Lioncash
54d0911868 [Android] Implement core autodetect. 2013-12-18 20:00:20 -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
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 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
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
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
66b4510237 (Android/Shield) Add optimal settings option 2013-08-02 14:58:51 +02:00
twinaphex
b560e58fb0 (Android) Add help system in Java frontend 2013-02-08 01:15:34 +01:00
twinaphex
58e1365a5c (Android) Remove shader pack link - obsolete now with shaders packaged in 2013-02-04 02:04:49 +01:00
twinaphex
00a8ceab7e (Android) Add Report Refresh Rate (Java) 2013-02-04 00:15:51 +01:00
ToadKing
c479cc9961 (Android) key bind preference changes 2013-01-31 20:41:57 -05:00
ToadKing
9006a80675 (Android) add detect bind button, useful for touchless devices 2013-01-30 13:22:52 -05:00
ToadKing
9fb3b7bb57 (Android) add ability to report IME 2013-01-28 20:11:54 -05:00
ToadKing
2ac69233e5 (Android) improve key bind preference handler, allow manual selection for IMEs 2013-01-27 23:05:40 -05:00
ToadKing
e517dd96da (Android) start of a custom key config panel 2013-01-27 16:54:50 -05:00
twinaphex
fc529d8655 (Android) Add Shader Pack zip link 2013-01-25 01:13:18 +01:00
twinaphex
4007f0e3b5 (Android) Add link to overlay manual 2013-01-25 00:55:24 +01:00
ToadKing
34b86c2d14 (Android) add options to download manual/cores manual 2013-01-23 21:46:15 -05:00
twinaphex
4eeac9a1d7 (Android) Add autodetect_enable entry to settings 2013-01-05 04:58:30 +01:00
Themaister
cb9bb8455f Make basic settings work. 2012-12-31 17:46:15 +01:00
Themaister
925a55c9e1 Start reworking settings menus into Java Phoenix.
Fix style according to Eclipse Ctrl+F.
Let frontend find default config.
Start adding popup menu for different settings.
Do not autodetect config on Android in native code.
2012-12-31 15:00:12 +01:00
meancoot
fc1cf035d7 Delete original phoenix directory; Rename andretro directory to phoenix. 2012-12-06 01:47:52 -05:00
twinaphex
6e730dab47 (Android) Split up project into native / phoenix - phoenix now doesn't
show main screen/rom browser (sigh)
2012-10-14 05:18:53 +02:00