Commit Graph

48 Commits

Author SHA1 Message Date
Lioncash 54d0911868 [Android] Implement core autodetect. 2013-12-18 20:00:20 -05: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
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 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 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 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
Themaister dd2d8009ca Add ProgressBar for asset extraction. 2013-08-16 14:46:36 +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 fc564c2bd6 Add 0.9.9.5 changelog 2013-08-15 00:57:13 +02:00
twinaphex 314947844d (Android) Last v0.9.9.4 push 2013-08-08 00:33:07 +02:00
dwihn0r 91af9c5f4f Added auto detection for the iControlPad when using the HID joystick profile and adjusted the iControlPad Bluez IME detection to look for the IME. 2013-07-14 10:06:10 +02:00
Jean-Sébastien Guay 630054d965 Clarified text for iPega in supported gamepads faq.
(nit) also closed a parenthesis in the Red Samurai text :-)
2013-07-11 22:21:09 -04:00
twinaphex 2a1290e70f (Android) r17 - 0.9.9.3 changelog
(Android) Change Ouya button binds
2013-06-28 21:46:07 +02:00
twinaphex c9928a0b8a Update readmes/etc for 0.9.9.2 2013-06-17 01:30:37 +02:00
twinaphex ab706c044a (Android) One more formatting fix 2013-05-27 02:18:56 +02:00
twinaphex 4c97e16a14 (Android) Fix formatting in faq_whats_new.xml 2013-05-27 02:16:15 +02:00
twinaphex cbe9bbfeba Note for meancoot 2013-05-27 01:20:36 +02:00
twinaphex c81a2e1c0f Insane changelog update - because I am nuts like that and feel
like going through 45 commit pages >_>
2013-05-27 01:10:21 +02:00
twinaphex 823b9a6a5d (Android) Add big changelog changes to Android built-in resources
(PS3) *blind coding* hopefully fix Return To Multiman option
2013-05-26 22:41:44 +02:00
twinaphex 99a2a438cb (Android) Add iControlpad 2013-02-17 22:58:06 +01:00
twinaphex 091403cb5d Update CHANGELOG 2013-02-17 15:38:27 +01:00
twinaphex 9b51be27cf Update CHANGELOG for 0.9.8.4 2013-02-16 23:14:41 +01:00
twinaphex 5086800f69 (Android) Updated changelog for r11 2013-02-11 21:36:23 +01:00
twinaphex cbd81dfc82 (Android) Typo fixes for pads supported 2013-02-11 21:14:57 +01:00
twinaphex 3565de029c (Android) Expand 'supported_pads' list 2013-02-11 21:14:11 +01:00
twinaphex 9960217184 (Android) Add 'List of autodetected devices' 2013-02-11 21:11:42 +01:00
ToadKing 904711bf93 (Android/Phoenix) update sound helpfile 2013-02-11 12:40:18 -05:00
ToadKing 905408dd00 (Android) fix sound FAQ 2013-02-10 20:42:56 -05:00
twinaphex 51d2d3bba4 (Android) Help text - Some adjustments 2013-02-08 01:56:30 +01:00
twinaphex 5120a0d7d9 (Android) Add some more entries to Help 2013-02-08 01:51:02 +01:00
twinaphex b560e58fb0 (Android) Add help system in Java frontend 2013-02-08 01:15:34 +01:00
ToadKing 7967086058 (Android) set opacity overlay 2013-02-01 20:29:42 -05:00
ToadKing 9006a80675 (Android) add detect bind button, useful for touchless devices 2013-01-30 13:22:52 -05:00
ToadKing 0fb902cc47 (Android) implement fast scroll in XML layout, not code 2013-01-30 11:58:32 -05:00
ToadKing cffc556fd0 (Android) work on IME key detection
works with wiimote IME, but not with standard keyboard IME. hopefully most gamepad IMEs work
2013-01-28 18:21:51 -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
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