841 Commits

Author SHA1 Message Date
Lioncash
0cd372c3c0 [Android] Validate constructor parameters in ConfigFile. 2013-10-31 07:50:05 -04:00
Lioncash
03260c3e6f [Android] Change ConfigFile's get[x] methods to throw IllegalArgumentExceptions instead on NumberFormatExceptions. It was incorrect to throw that exception, since it had nothing to do with how the number was formatted in the string.
If a number formatting problem occurred, [type object].parse[type]() methods would throw a NumberFormatException.

Also fixed a slight typo in CoreManagerActivity.
2013-10-31 07:45:09 -04:00
Lioncash
e11b678ddd [Android] Readability cleanup in IconAdapter.java. 2013-10-31 05:06:31 -04: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
7c07e35f4a [Android] Implement info file support for Android. Also modified the core manager to adapt to this.
- Added JavaDoc to ModuleWrapper and ConfigFile as well.
- Did some tiny simplifications with ConfigFile.java
- Handle the IOExceptions with the parameterized constructor. The only reason this could fail is fail is if the InputStream suddenly closed for an arbitrary reason.
2013-10-31 01:54:42 -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
e51cecbff4 (create-ouya-project.sh) Script is useless now 2013-10-30 03:33:08 +01:00
twinaphex
967e1e2846 (Android) Change packagename from org.retroarch to com.retroarch 2013-10-30 03:06:54 +01:00
Squarepusher
b558f258dc Update Building in Eclipse.md 2013-10-30 02:46:22 +01:00
twinaphex
0952c88ec2 (Android Java) update libretro_cores.cfg (note to Lioncash - we
should be getting rid of this file short-term and using the core
info files directly from the Java frontend instead)
2013-10-30 02:19:06 +01:00
twinaphex
6a449e898d (Android Java) Disregard 'libretro_' prefix - should just add all
cores it can find in assets/cores
2013-10-30 01:16:28 +01:00
twinaphex
9e4b672634 Move cores to an 'asset' folder - create a directory in phoenix/assets folder,
call it 'cores', move all the cores there. The APK extract and retroarch activity
libraries still need to remain in phoenix/libs. This will allow Lioncash to make
his core manager be able to uninstall cores etc.
2013-10-30 01:07:49 +01:00
Squarepusher
3bae1122de Update Building in Eclipse.md 2013-10-23 10:42:24 +02:00
Chris Merrett
3ec7065238 Added Android support for cheap G910 gamepad. 2013-10-22 22:31:48 +01:00
twinaphex
d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Lioncash
14992ea911 [Android] Update the documentation with better Eclipse instructions. 2013-10-21 22:27:19 -04:00
Lioncash
eec6faf7a1 [Android] Update documentation to explain how to build the JNI portions of the Android front-end. 2013-10-21 22:02:33 -04:00
ToadKing
57677f8d2a [ANDROID] fix compile on windows
broken make in android toolkit can't have paths with colons in LOCAL_SRC_FILES, just assume we're getting called from the right directory
2013-10-21 21:38:54 -04:00
Lioncash
21f7b63417 [Android] Revise core location in Building in Eclipse.md 2013-10-21 21:05:36 -04:00
Lioncash
e225bc087f [Android] Fix the markdown syntax for the numeric list in the build instructions. Also minor text change. 2013-10-19 23:10:41 -04:00
Lioncash
6273928755 [Android] Update the build instruction file for Android on where to place built cores. 2013-10-19 23:05:35 -04: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
783f493252 [Android] Remove a pointless throws for IOException in ModuleWrapper. There's no way an I/O exception can be thrown in this constructor. 2013-10-15 23:07:36 -04:00
Lioncash
d3c96cfaed [Android] Remove R.java and BuildConfig.java from the appcompat lib. These are generated files, so there's no need to keep them in the repo. They will be regenerated upon builds. 2013-10-15 11:31:36 -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
Lioncash
34e447cd4d [Android] No need to get the base context in ShaderActivity.java for getting application info. Since ShaderActivity.java is (obviously) an Activity. It can act as it's own Context. 2013-10-15 03:12:15 -04:00
Themaister
773295cb28 Move jni stuff to NativeInterface.
Makes it more generic and extensible for the future.
2013-10-14 23:27:18 +02:00
Themaister
b5c733f692 Do config readback immediately after running.
Avoids potential issue where game is started right after exiting again.
2013-10-14 23:11:08 +02:00
Themaister
0d1c394325 Flush config to disk after device detection. 2013-10-14 22:45:06 +02:00
Squarepusher
9baba0fc8a Merge pull request #341 from libretro/apk-extract
Extract APK assets from native code
2013-10-14 12:21:44 -07:00
Themaister
960780277a Drop some now useless code. 2013-10-14 21:14:55 +02:00
Themaister
644d45106e Style nit. 2013-10-14 21:09:49 +02:00
Themaister
7df4500024 Use native side asset extraction. 2013-10-14 21:08:41 +02:00
Squarepusher
7df9f53d4f Merge pull request #340 from lioncash/master
[Android] Disable the preference "Automatically detect audio latency" if the Android device running RetroArch is less than Android 4.1.
2013-10-14 10:10:58 -07:00
Lioncash
1cb397dac7 [Android] Disable the preference "Automatically detect audio latency" if the Android device running RetroArch is less than Android 4.1. Auto detection won't work on those below it. 2013-10-14 11:57:53 -04:00
twinaphex
8b58c39cad (libretro_cores.cfg / Android) Change mupen64 name 2013-10-14 11:34:29 +02:00
twinaphex
2b7c2a7185 (Android Phoenix) Add mupen64 entry to libretro_cores.cfg 2013-10-14 11:22:20 +02: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
Lioncash
fba46e5e2f [Android] Re-organize config loading so it's neater. 2013-10-13 22:52:14 -04:00
Lioncash
39280b5535 [Android] Remove implementation of OnPreferenceAttachedListener from PreferenceActivity. Not necessary. 2013-10-13 22:48:31 -04:00
Lioncash
aa36ba9fad [Android] Update the config file whenever a preference within SharedPreferences has been changed. 2013-10-13 22:06:54 -04:00
ToadKing
73bb9d23e0 add intent and icon for Ouya 2013-10-13 20:48:17 -04:00
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