8435 Commits

Author SHA1 Message Date
ToadKing
ca2e2f239a add tool for making Ouya version (needs different package name) 2013-10-12 21:05:08 -04:00
Lioncash
8efd5e47c6 [Android] Add a basic Readme.md to the Android front-end project. 2013-10-11 19:28:35 -04:00
Lioncash
2f74173154 [Android] Add a doc on how to import the project into Eclipse. 2013-10-11 19:19:28 -04:00
Lioncash
6787c3b674 [Android] Remove an unused import. 2013-10-11 18:55:30 -04:00
Lioncash
2770b23e9f [Android] Add a handler for the global config CheckBoxPreference. 2013-10-11 18:48:12 -04:00
Lioncash
1105304df5 [Android] Also update the config if the settings activity gets paused. 2013-10-11 18:22:33 -04:00
Lioncash
8c7437f74f [Android] Save to the config file upon leaving the settings activity. 2013-10-11 18:18:59 -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
Squarepusher
7487c666c8 Merge pull request #332 from lioncash/master
[Android] Simplify how ListActivities set their adapters. Also tiny FileWrapper change.
2013-10-11 13:41:49 -07:00
Lioncash
0977f6dc9f [Android] Fix variable accessibility within BackStackItem. These aren't used outside of the class, so they should be made private. 2013-10-11 12:04:34 -04:00
Lioncash
b69059629b [Android] Use accessors with FileWrapper.java. Maintains encapsulation. Also make FileWrapper.java implement Comparable, since it already implements compareTo. 2013-10-11 11:58:19 -04:00
Lioncash
4b3f15c904 [Android] Simplify how ListActivities set their adapters. Since they are ListActivities, there is an underlying method for setting the adapters (setListAdapter()), so now we can remove calls that get the ListView object, since we don't need to directly access them now. 2013-10-11 10:42:11 -04:00
Themaister
baf694d4f6 Move core_info string to front on Android.
Searching for libretro_ at start of string would cause path to become
empty.
2013-10-11 09:22:54 +02:00
Themaister
48602cbdbb Refactor out to menu_init_core_info. 2013-10-11 09:17:32 +02:00
Themaister
b8fbc58e44 Update core info when INFO_DIR changes. 2013-10-11 09:14:31 +02:00
twinaphex
f395fcf3db Should save audio mute and state slot in RGUI now too 2013-10-11 01:31:08 +02:00
twinaphex
310f404747 Get rid of MODE_INFO_DRAW 2013-10-11 01:28:26 +02:00
twinaphex
849cfb680e Saves 'Show Framerate' setting to config file now too 2013-10-11 01:19:54 +02:00
twinaphex
a35e708335 (core_info) Can now set core info directory from RGUI 2013-10-11 00:36:08 +02:00
twinaphex
c56f53599a (core_info.c) Some code cleanups 2013-10-11 00:24:01 +02:00
twinaphex
cc992f557e core_info.c - move comment so it's more readable 2013-10-11 00:20:17 +02:00
twinaphex
549ce2bb6c Add seperate directory for libretro core info files (needed for
Android)
2013-10-11 00:18:11 +02:00
twinaphex
19e6a099c1 (core_info.c) Add hack for Android core libraries 2013-10-10 18:18:15 +02:00
Squarepusher
c23fc0546c Merge pull request #331 from lioncash/master
[Android] Minor changes
2013-10-10 08:25:55 -07:00
twinaphex
33de14a6ca Revert "(Android) Some preliminary changes for new libretro core naming convention - still not"
This reverts commit 1bcf1afc9ed167854ce4c4ee0f31abf7a59c9092.

Conflicts:
	android/phoenix/src/org/retroarch/browser/CoreSelection.java
2013-10-10 16:49:27 +02:00
twinaphex
6f0018b16e Revert "(Android) Some preliminary changes for new libretro core naming convention - still not"
This reverts commit 1bcf1afc9ed167854ce4c4ee0f31abf7a59c9092.

Conflicts:
	android/phoenix/src/org/retroarch/browser/CoreSelection.java
2013-10-10 16:47:44 +02:00
twinaphex
f35fc9e1f7 Revert "(Android) Changes for filename naming convention changes"
This reverts commit d9b909aadb25cb1401b6e7c28fc345adcaf976c9.
2013-10-10 16:47:19 +02: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
6b5f21479e [Android] No need to call flush() before closing a stream. close() calls the flush method before actually closing the stream. 2013-10-10 10:12:09 -04:00
Squarepusher
8a2364181e Merge pull request #330 from lioncash/master
More simplifications and API 'correctness' for Android.
2013-10-10 04:18:25 -07:00
Lioncash
05f6226544 [Android] Made it unnecessary for HistorySelection.java, CoreSelection.java, and DirectoryActivity.java to implement an AdapterView. Since these now extend ListActivity, they can just override the method onListItemClick(). 2013-10-10 02:39:01 -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
twinaphex
d9b909aadb (Android) Changes for filename naming convention changes 2013-10-10 04:25:32 +02:00
twinaphex
1bcf1afc9e (Android) Some preliminary changes for new libretro core naming convention - still not
working here
2013-10-10 03:41:53 +02:00
Squarepusher
2ee352c795 Merge pull request #329 from lioncash/master
[Android] Decouple a large amount of preference handling functionality from the MainMenuActivity in the Android front-end. Along with numerous simplifications/optimizations.
2013-10-09 07:18:03 -07:00
Lioncash
99de59d71e [Android] Missed a string key within updateConfigFile in UserPreferences.java. Fixed that. 2013-10-09 00:48:55 -04:00
Lioncash
e71bce0cbd [Android] Simplify LayoutInflater retrieval for KeyBindPreference.java and SeekbarPreference.java.
Simplify application info retrieval in OverlayActivity.java.
2013-10-09 00:26:07 -04:00
Lioncash
16127e046c [Android] Join declaration and assignment of a ConfigFile object in CoreSelection.java. Also made two variables final. 2013-10-08 23:54:52 -04:00
Lioncash
a16be6af65 [Android] Remove a redundant context variable in ReportIME.java. 2013-10-08 23:52:10 -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
84ee7658c2 [Android] Simplify another conversion of a double to a String within DisplayRefreshRateTest.java. Removed an unused import from RefreshRateSetOS.java. 2013-10-08 23:39:10 -04:00
Lioncash
73f97281fe [Android] Simplify WindowManager retrieval within RefreshRateSetOS.java. Also simplified the conversion of a double to a String.
No need to first turn the double into the object Double. Double has a toString() method for this.
2013-10-08 23:33:00 -04:00
Lioncash
ac2c9840ff [Android] Simplify LayoutInflater retrieval within IconAdapter.java. Also removed abstract from the methods within the interface IconAdapterItem. Methods within an interface are implicitly abstract.
Joined the declaration and assignment of an Intent within HistorySelection.java.
2013-10-08 23:30:15 -04:00
Lioncash
8fb23d0fcc [Android] Very minor clean-up in MainMenuActivity.java and CoreSelection.java. 2013-10-08 23:11:46 -04:00
Lioncash
c7ff040bf3 [Android] Get rid of getPreferences from MainMenuActivity.java. No longer needed. Now located within UserPreferences.java. 2013-10-08 23:05:54 -04:00
Lioncash
8112c1e36f [Android] Move readCPUInfo into UserPreferences.java. Also, a little bit of documentation in UserPreferences.java. 2013-10-08 22:55:07 -04:00
Lioncash
da6b6f4f50 [Android] Remove some functions I missed when cleaning up MainMenuActivity.java. These are moved into UserPreferences. They aren't needed in here any more. 2013-10-08 22:22:40 -04:00
Lioncash
ed649b44ab [Android] Initial implementation of new UserPreferences. Unifies preference loading and saving into one central class and moves it out of the MainMenuActivity.java. 2013-10-08 22:11:29 -04:00
Lioncash
010e691993 [Android most of new UserPreferences class finish. Not implemented however. 2013-10-08 20:52:44 -04:00
Lioncash
348cdb32b6 Fix a typo in the class name checking in function startActivity in MainMenuActivity.java. 2013-10-08 19:53:26 -04:00