373 Commits

Author SHA1 Message Date
twinaphex
272002310d Rename more references to 'roms' 2014-07-28 20:01:27 +02:00
Lioncash
54418c2c66 Android: Minor changes
- Use the character version of lastIndexOf
- Use a StringBuilder instead of a raw String. Doesn't destroy/recreate
  the string every time we append to it.
2014-07-17 16:56:54 -04:00
Themaister
09443d88c2 Android: Remove useless getDisplayRefreshRate
Interferes with detection in native activity.
2014-06-21 17:05:04 +02:00
Themaister
9a8147fe93 Actually read back RetroArch config.
onDestroy() is never called for some unknown reason, probably exit() in
NDK. Even so, finish() from UI thread via JNI doesn't work either <_<.
2014-06-20 14:26:26 +02:00
twinaphex
c090ee634c (Android) Remove debug_input_enable 2014-06-20 07:03:06 +02:00
twinaphex
5216e90c12 (Android) - EGL context cleanups
- Add shared context support
2014-06-20 04:35:12 +02:00
Themaister
5530de0fb7 Android: Fix handling of libretro_path/libretro_directory. 2014-06-16 21:50:29 +02:00
twinaphex
97c5b9976d (Menu) Change some RGUI references to Menu 2014-06-13 18:47:24 +02:00
twinaphex
d6486df835 (Android frontend) Refactor RetroActivity launching 2014-06-13 05:48:13 +02:00
twinaphex
94cd38f628 (Android) Sets default savedir/savestate/system directory paths now to internal sandboxed
app dir (Android 4.4.2 and so on no longer allow writing to SD card)
2014-06-13 03:52:17 +02:00
twinaphex
b3ad2913a4 (Android frontend) Cleanups 2014-06-13 03:06:29 +02:00
twinaphex
d476f0df91 Revert "Remove g_settings.audio.block_frames - never used"
This reverts commit 9ed3f3847c608b26c792c6dcbc3711ed946226b3.
2014-06-13 02:15:10 +02:00
twinaphex
ddf0dcb165 (Android) Build fixes/cleanups to frontend 2014-06-13 01:10:14 +02:00
twinaphex
86ee594b68 (Android frontend) Take out audio_latency_auto - now handled in native activity 2014-06-13 00:36:58 +02:00
twinaphex
9ed3f3847c Remove g_settings.audio.block_frames - never used 2014-06-13 00:17:23 +02:00
twinaphex
34f161f1c9 (Android) fix input overlay enable 2014-06-12 23:23:04 +02:00
twinaphex
b25d6a5c25 (Android frontend) Don't have to set input settings anymore during detectDevice
time
2014-06-12 22:32:49 +02:00
twinaphex
2f3af72501 Build fixes 2014-06-12 22:31:25 +02:00
twinaphex
9b6703b3ad (Android frontend) audio_latency is now set in native activity instead of Android
frontend
2014-06-12 19:07:27 +02:00
twinaphex
08201cf55b (Android frontend) Cleanup 2014-06-12 19:03:09 +02:00
Themaister
3750ccbc9d Android/Phoenix: Only set buttons to config if actually set by user. 2014-06-11 15:48:15 +02:00
twinaphex
b882fd3ef7 (Android frontend) Cleanup input_back_behavior 2014-06-11 07:39:08 +02:00
twinaphex
d7c327708f (Android frontend) Get rid of icade and back_button_behavior 2014-06-11 01:56:30 +02:00
muzuiget
adcc860dcc (Android) Implement immersive mode on Kitkat 2014-03-17 22:09:51 +08:00
Daehan Kim
962ee80909 Fixed zipFile resource leaking. 2014-01-07 02:41:50 -08:00
twinaphex
c49985ce90 (Android) Build fix 2014-01-07 10:01:08 +01:00
Bezier89
f274a409c7 Allow auto detect core to work with mixed case extensions and zip files. 2014-01-05 12:50:38 -08:00
twinaphex
b20b6525d3 (Android) PendingIntent code created bad dependencies on Java frontend and
made it impossible for external clients like Dinothawr to use RetroArch
as a library
2014-01-04 05:36:08 +01:00
Lioncash
bf45b93775 Indicate downloadable cores are still in development for the Android front-end. 2014-01-02 15:43:10 -05:00
twinaphex
ff036066e2 Rework frontend - separate functions now for iterating per frame
and for doing teardown - Emscripten and Apple ports can make use
of this now so we don't need separate frontend implementations
2013-12-28 21:08:30 +01:00
twinaphex
6ce9c64e04 (Android) Change default overlay for Android to snes/snes.cfg 2013-12-28 03:14:21 +01:00
twinaphex
d1bdd4bd97 (Android/Apple) Set default opacity to 0.7f 2013-12-25 02:41:37 +01:00
Lioncash
192bf387d4 Clean up tab/space mistmatch in RetroActivityLocation.java 2013-12-21 17:01:20 -05:00
twinaphex
9c82f5e89e (Android locatio) Gets location updates now (seems to call
onLocationChanged) but only if Wifi is enabled - Wifi off and
GPS on doesn't work yet
2013-12-21 16:55:05 +01:00
twinaphex
9e3b69cb78 (Android) RetroActivityLocation - some cleanups 2013-12-21 16:43:50 +01:00
twinaphex
2b5ece3804 (ANdroid JNI) Bugfix - onLocationGetHorizontalAccuracy should return
double, not float
2013-12-21 15:04:47 +01:00
twinaphex
be5609269a (Android location) Gets a bit further but still not calling onLocationChanged - just renders the text for the first location retrieval and nothing else after that 2013-12-21 14:58:29 +01:00
twinaphex
c68312fe31 (Android Location) Some changes - still not working 2013-12-21 06:19:38 +01:00
twinaphex
0d94dd03f7 (Android location) onConnected/onDisconnected reimplemented - still don't seem
to get to onLocationChanged though
2013-12-20 21:49:43 +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
twinaphex
3338513a9a (Android) Add another permission- ACCESS_COARSE_LOCATION - in case LocationManager
needs this
2013-12-20 01:18:35 +01:00
twinaphex
792b27288a (Android) (Location) Function signatures for functions that return
double were wrong - should be D instead of J
2013-12-20 00:42:42 +01:00
twinaphex
da6e360e49 (Location) Implement horizontal and vertical accuracy - Android's
location API only provides horizontal API but iOS/OSX API supports
both horizontal and vertical. Maybe consider implementing vertical
accuracy for Android by hand later
2013-12-19 17:36:27 +01:00
twinaphex
f0aa0f99fd (Location) Reimplement some parts of the location interface - get_latitude
and get_longitude are gone now in place of get_position. Basically,
from C land we basically do a poll-style queries, but on the
implementation side (ie. Android/iOS/OSX) - they all use callback-based
location updates. So we simply check in the poll function (get_position)
whether position has changed, and if so, update the pointer values and
return true - if not, set them to 0 and return false.
2013-12-19 15:47:47 +01:00
twinaphex
581aab1e3e (Android) Small typo fix 2013-12-19 05:24:12 +01:00
Twinaphex
1659adbfe9 Merge pull request #428 from lioncash/master
[Android] Implement core autodetect.
2013-12-18 17:04:12 -08:00
Lioncash
54d0911868 [Android] Implement core autodetect. 2013-12-18 20:00:20 -05:00
twinaphex
fa6459976f (Android) Build fix 2013-12-19 01:01:31 +01:00
twinaphex
250a6d757e (Android) location API - onLocationSetInterval 2013-12-19 00:56:47 +01:00
Lioncash
f162088238 Simplify context retrieving in GPLWaiverDialogFragment, Application context is not necessary in this case. 2013-12-15 11:36:19 -05:00