Commit Graph

82 Commits

Author SHA1 Message Date
twinaphex
ef3040a78b (Android) Add CAMERA permission 2013-11-17 23:02:06 +01: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
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
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
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
2464e30ca5 [Android] Bump the application manifest targetSDKVersion tag from 17 to 18, since 4.3 is the latest API level. 2013-10-08 23:45:11 -04:00
Lioncash
1cc576b20f [Android] Clean up the manifest a little. 2013-10-08 19:51:37 -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
68b252da75 Remove non-existant activities from the manifest. 2013-09-27 00:16:16 -04:00
twinaphex
387701b55e (Android) Bump up version code - add more descriptions for cores 2013-09-23 03:54:28 +02:00
ToadKing
ad7c442e8c [Android] bump version number 2013-09-09 19:28:50 -04:00
Themaister
ae5221947a IME config fixups. 2013-08-24 12:52:47 +02:00
zevektor
56674fb7f0 Allow to load roms from external apps. 2013-08-19 23:23:39 +02:00
twinaphex
02600424eb (Android) Set RetroActivity to android:exported="true" 2013-08-19 15:55:53 +02:00
twinaphex
744d2d169e (Android Phoenix) Take out 'welcome to Android' popup 2013-08-18 03:04:03 +02:00
twinaphex
849c14d8a2 (Android) Bumped up to r22 2013-08-16 17:07:09 +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
twinaphex
5a2a89a8db (Android Phoenix) Separate java classfile for FileWrapper
(Android) Bind menu button to RGUI for 360 pad
2013-08-12 23:32:02 +02:00
twinaphex
fc4a6b6250 (Android Phoenix) Rename RetroArch.java to CoreSelection.java 2013-08-12 18:48:07 +02:00
twinaphex
647a423aa4 (Android Phoenix) Split up menu classes into separate .java files 2013-08-12 17:43:27 +02:00
twinaphex
7abe27de81 (Android Java) Create separate class for ReportIME 2013-08-12 05:51:33 +02:00
twinaphex
b8ca1323a9 (Phoenix Android) Clean up UI 2013-08-10 22:58:04 +02:00
twinaphex
314947844d (Android) Last v0.9.9.4 push 2013-08-08 00:33:07 +02:00
twinaphex
0c6c7bf743 (Android) Bump up version 2013-08-07 03:32:54 +02:00
Themaister
fa5e58ffb8 Fixup manifest.
Crashed with full org.retroarch. path.
2013-08-01 20:04:07 +02:00
twinaphex
a4850c1b57 (Android) Don't use JELLY_BEAN_MR1 constant as it wasn't available on
prior Android versions - use int keycode instead - also implemented
stub onTrimMemory/onLowMemory inside NativeActivity wrapper class
2013-07-18 13:27:30 +02:00
twinaphex
2f3254a23b (Android) Use NativeActivity wrapper 2013-07-18 00:09:22 +02: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
2bcc1a5b6e Set custom viewport to preinitialized default values for all
platforms
2013-06-04 14:44:25 +02:00
twinaphex
e62c76c9b3 Makefile.shaders - add OSX detection 2013-05-29 12:55:24 +02:00
Hans-Kristian Arntzen
9ed10c5aaf Add SystemDirActivity to manifest. 2013-05-29 11:35:13 +03:00
twinaphex
ac40910221 Small inconsequential tweaks 2013-05-29 02:06:51 +02:00
twinaphex
cfd862291d (Android) Bump up Android version to r13 2013-05-26 19:25:48 +02:00
Themaister
ad713d3bb1 Update to 0.9.9-wip3. 2013-05-08 01:13:29 +02:00
Themaister
12bb089f63 Update to 0.9.9-wip2. 2013-05-01 12:50:40 +02:00
Themaister
227363bfce Update to 0.9.9-wip1. 2013-04-21 18:56:17 +02:00
twinaphex
ce4652da5a (Android) Bump up version to 0.9.8.4444 2013-02-18 03:43:39 +01:00
twinaphex
960b091e59 (Android) Fixes Madcatz fighting stick - now autodetected -
R1/R2 button properly configured for SF-style games
2013-02-13 22:52:27 +01:00
twinaphex
c48212726e (Android) Bump up version to 0.9.8.3 2013-02-11 22:08:36 +01:00