959 Commits

Author SHA1 Message Date
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
twinaphex
ec5153ab57 (Android) Build fix 2013-12-17 20:56:31 +01:00
AridRayne
8c23b0bd96 Added to copyright headers. 2013-12-16 08:46:38 -08:00
AridRayne
721fbeda7e Added an iCade profile for the Moga Hero Power controller, it might work
with other Moga controllers that have a HID mode.
2013-12-16 08:41:41 -08:00
AridRayne
30379e4abb Check AXIS_BRAKE and AXIS_GAS if AXIS_LTRIGGER and AXIS_RTRIGGER return
0. The Moga Hero Power specifically uses AXIS_BRAKE and AXIS_GAS
instead.
2013-12-16 08:08:06 -08:00
twinaphex
bfbebaf041 (Android) Add JXD S5110B Skelrom to input autodetect 2013-12-16 10:52:50 +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
Lioncash
4b86d80408 Move RetroActivity based classes into their own package. Keeps them localized. 2013-12-15 11:35:28 -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
twinaphex
c038f7be8f (Android Phoenix) RetroActivityCommon - Implement getAndroidOSVersion 2013-12-15 14:18:11 +01:00
twinaphex
104ae00915 (Android Phoenix) Split up camera code into RetroActivityCommon 2013-12-15 14:04:43 +01:00
twinaphex
4491140e03 (Android Phoenix) Split up Location functionaltity into RetroActivityLocation 2013-12-15 06:44:45 +01:00
twinaphex
a643b2954f (Android Phoenix) Camera Java functions - some small cleanups 2013-12-15 06:23:13 +01:00
twinaphex
99dc8f9712 (Android) Try to properly stop/free/start/reinit camera based on
onResume/onPause/onStop/onDestroy. Doesn't seem to work yet and camera-based
core still crashes when unfocusing app. Might need to do calls back to JNI
shim functions to deinit some stuff or vice versa
2013-12-15 06:19:51 +01:00
twinaphex
66576b12e8 (Android) Initial stub location API/GPS support. Requires Google Play Services so
baking that in as a dependency now by providing the .jar file.

Still need to write stub driver in C that calls these location functions through
JNI - and still need to gather all semantics for libretro API additions
2013-12-15 05:48:28 +01:00
twinaphex
b86a2c92e6 (Android) Make common RetroActivityCommon that both RetroActivityFuture and
RetroActivityPast extend from
2013-12-15 01:33:47 +01:00
twinaphex
f5edd42535 (Android Phoenix) Add 'permissions' to ModuleWrapper etc. 2013-12-14 21:51:21 +01:00
twinaphex
3baa2e5ee2 (Android) Add permission.ACCESS_FINE_LOCATION - privacy options/settings to follow 2013-12-14 19:25:58 +01:00
Lioncash
61eaf262d8 [Android] Add the export tag to RetroArchPast/Future in the manifest. Allows passing external Intents. 2013-12-09 21:33:43 -05:00
Lioncash
6bdaadb82e Clean up RetroActivityFuture a little. Remove a pointless if statement check (the only Android versions this launches on are the ones that satisfy this condition).
Also misc other cleanup.
2013-12-09 02:29:56 -05:00
Lioncash
f57210cb41 Fix duplicate string declarations in strings.xml. 2013-12-09 02:23:57 -05:00
twinaphex
6615f57971 (Android) Ignore FEATURE.LOW_AUDIO_LATENCY - devices like Nvidia Shield set it
to false while having frames per buffer values that are seen as ideal
- so setting it to true will always use those values now.
2013-12-06 21:17:19 +01:00
twinaphex
7cd8f6c188 (Android) Change case sensitivity for detecting JXD S7800b controls 2013-11-30 17:23:18 +01:00
twinaphex
2b01f0a33e (Android) Add JXD S7800B autodetected controls 2013-11-29 15:10:39 +01:00
twinaphex
98ca741ca0 (Android) Should be backwards compatible with Android 2.3.x again -
2.3.x now uses RetroActivityPast
2013-11-29 01:35:56 +01:00
twinaphex
03ca0d89b2 (Android) Replace logo 2013-11-29 00:25:43 +01:00
twinaphex
60baa25233 (Android) Move around cpufeatures.c/.h to performance/ 2013-11-27 22:57:49 +01:00
twinaphex
fc11d4501d (Apple/Android) Rename more 'game'/'emulator' strings 2013-11-26 23:15:05 +01:00
twinaphex
d8b5ac7a83 Reword README.md and rewrite 'game' strings 2013-11-26 23:09:12 +01:00
twinaphex
a8f51e4477 (Android) Implement 'Quit' button functionality - will still need to build
in working code for 'Back behavior = menu button'
2013-11-26 16:30:29 +01:00
twinaphex
a7b34ec794 (Android) Implement all back behaviors 2013-11-26 13:41:33 +01:00
Lioncash
3579319573 [Android] Make a field a local variable in DisplayRefreshRateTest. It's not used elsewhere, so this is safe. 2013-11-25 09:57:06 -05:00
Lioncash
95539090ec [Android] Make CoreSelection and HistorySelection statically instantiable.
Allows showing the dialogs without the need for an actual variable or ugly "new HistorySelection(fm, tag).show();" syntax.

Also moved the else if for "Quit Retroarch" to the bottom of the if statements so its structured relative to the UI.
2013-11-25 09:55:46 -05:00
twinaphex
6c638f91f4 (Android) Big changes -
- both MainMenuActivity and RetroActivity are single instances now
- AKEYCODE_BACK gets eaten and onBackPressed in Java is triggered
- onBackPressed right now calls an instance of MainMenuActivity
(reuses the existing activity on the stack)
- User can switch back and forth between RetroActivity and MainMenuActivity
with AKEYCODE_BACK / Back button
- When a subsequent intent is launched after RetroActivity has already been
started up once, the pending intent gets passed to the existing RetroActivity
throug onNewIntent - in C land it will look every frame if an intent is pending - if it is, it will look up certain variables through JNI to launch a new game - or whatever it is that the intent wants to do
- With this we can now switch seamlessly between Android UI and RetroArch
itself.
2013-11-24 22:02:57 +01:00
twinaphex
1d06b07a16 (Android) Add "USED" intent extra to RetroActivity 2013-11-24 17:58:23 +01:00
twinaphex
47c8c26511 (Android) Simplify intent grabbing with JNI 2013-11-24 16:43:57 +01:00
twinaphex
0b7268dfac (Android) Phoenix - get rid of warnings 2013-11-22 23:15:38 +01:00
twinaphex
37fce3c56e (Android) Move engine_handle_cmd from input_android.c to platform_android.c 2013-11-22 21:12:13 +01:00
twinaphex
d66d4f7263 (Android) have engine_handle_cmd take as argument void* 2013-11-22 17:41:45 +01:00
Squarepusher
3f47951d3d (Apple) Build fix 2013-11-22 01:10:35 +01:00
twinaphex
7f0aafbcba (Android) Camera update - update onCameraPoll Java function -
remove ret variable - remove FIXME in C camera driver for Android
2013-11-21 15:37:28 +01:00
twinaphex
4df7eabd79 (Android) Camera- take out excessive logging spam 2013-11-21 00:28:49 +01:00
twinaphex
c3eb6b1791 (Android) Camera goddamn works - yay 2013-11-21 00:00:37 +01:00
twinaphex
05b70bab87 (Android) Camera - add logs 2013-11-20 23:57:35 +01:00
twinaphex
1cbe95858d (Android) Add some missing functionality to camera texture handling 2013-11-20 23:49:06 +01:00
twinaphex
fead1faee5 (Android) Fix warnings when changing #if 1 to #if 0 2013-11-20 19:18:24 +01:00
twinaphex
4a816ac177 (Android) Put in #if 1 - Lioncash can change this to #if 0
to test Java-side back key handling
2013-11-20 19:14:02 +01:00
twinaphex
8b8c28ae86 (Android) RetroActivity - Add overridden stub onBackPressed - call
works without warning
2013-11-20 19:08:54 +01:00
twinaphex
8c5679072c (Android) Implement JNI onBackPressed call 2013-11-20 19:00:21 +01:00