Commit Graph

601 Commits

Author SHA1 Message Date
twinaphex 3b23c4442a (apk-extract.c) Style/indent nits 2014-09-15 16:59:51 +02:00
twinaphex 3787c831e7 (Wii) Compile in 7zip support 2014-09-12 22:24:18 +02:00
twinaphex 119a51be76 Silence unused variable warnings
(Android) undefine HAVE_COMPRESSION - gets defined in griffin.c now
2014-09-12 21:41:54 +02:00
twinaphex b360a308ce (Android) Build fix 2014-09-11 07:35:42 +02:00
twinaphex 442b4a7c7e (Android) Compile in 7zip support 2014-09-02 21:26:31 +02:00
twinaphex 6a5f614215 (7z) Change function signature of 7zip_read_file function 2014-09-02 20:45:57 +02:00
CaseyB 20795bf1dc Added LEANBACK_LAUNCHER category
Added LEANBACK_LAUNCHER category to be compatible with Android TV
2014-08-20 13:12:06 -04:00
l3iggs a1ed67f6e8 (Android) set APP_PLATFORM defaults in case not compiling from libretro-super 2014-08-18 08:40:12 -07:00
l3iggs 414ce2d5a6 Merge remote-tracking branch 'upstream/master' into patch-1 2014-08-18 08:38:47 -07:00
l3iggs 3bd0812d85 [Android] set default target ABI 2014-08-17 23:11:01 -07:00
l3iggs f3a2be6abf [Android] allow for variable NDK header version 2014-08-17 21:27:53 -07:00
l3iggs 6d8b095865 [Android] allow variable ABI targets 2014-08-17 21:16:01 -07:00
twinaphex e1a122843b Add null camera - remove HAVE_CAMERA ifdefs 2014-08-14 02:55:04 +02:00
twinaphex 027bd68bb3 Add location/null.c - get rid of HAVE_LOCATION ifdefs 2014-08-14 02:15:48 +02:00
twinaphex 92e7e413d4 (Android) Take out HAVE_BUILTIN_AUTOCONFIG - Android port now relies
on joypad autoconfig files put inside autoconfig directory
2014-08-13 12:17:45 +02:00
twinaphex aa8aa948c1 (Android) Define __ARM_NEON__ for ARMv7 ABI 2014-08-03 00:57:16 +02:00
twinaphex 272002310d Rename more references to 'roms' 2014-07-28 20:01:27 +02:00
l3iggs 628b644785 (Android) restrict abi targets
This fixes a build error I get with the latest android NDK (r10) complaining about an unsupported architecture (armeabi, maybe it was retired). Also, libretro-build-android-mk.sh only builds the cores for armeabi-v7a, mips and x86 anyway so there is no point in building the app for other architectures.
2014-07-26 11:28:23 -07:00
twinaphex fbb0b57cae Use __ARM_NEON__ define instead of HAVE_NEON 2014-07-26 20:18:37 +02:00
twinaphex fe4e0f4842 zlib_parse_file callbacks - some code niceties for similar functions 2014-07-22 07:25:36 +02:00
twinaphex d1a85b6d95 Take out HAVE_SCREENSHOTS everywhere 2014-07-22 03:22:18 +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 e75f15cb91 Fix Android build. 2014-06-17 17:58:58 +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 9ed3f3847c.
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 16ef1f008c (Android) Remove obsolete android/native - compile always from
android/phoenix/jni now
2014-06-11 12:37:58 +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
John Grub e5d71f1f35 allows ant build to succeed: bump android version 2014-06-09 00:44:59 -07:00
Themaister 3ac1150ebc Fixup Ant build for Android. 2014-04-25 16:35:26 +02:00
Themaister f2c78c36e3 [Android] Add support for GLES3 HW render. 2014-04-14 13:17:05 +02:00
twinaphex 19e474eefa (Android) Set min SDK version back to 9 2014-03-17 19:07:24 +01:00
muzuiget adcc860dcc (Android) Implement immersive mode on Kitkat 2014-03-17 22:09:51 +08:00
twinaphex c52c8cd5b5 (Android) Bump up versioncode
(VideoCore EGL) Fix build
2014-03-13 11:01:46 +01:00
twinaphex d21a0642fb (Android) GPL waiver - bump up year 2014-03-10 19:25:11 +01:00
twinaphex 9a66975589 (Android) Bump version 2014-03-10 05:49:29 +01:00
twinaphex afd9ad779a (Android) Bump version code to 32 2014-01-11 20:58:14 +01:00
twinaphex b584964c2b (Android) Bump up version 2014-01-11 17:38:04 +01: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
twinaphex 998aac0765 (Android) Links to documentation changed 2014-01-03 00:26:02 +01:00
twinaphex c71f63008e (Android) Bump up version code to 26 - bump up version number to 1.0.0.0 2014-01-02 22:11:22 +01:00
Lioncash bf45b93775 Indicate downloadable cores are still in development for the Android front-end. 2014-01-02 15:43:10 -05:00
Hans-Kristian Arntzen cfd487e117 Update Building in Eclipse.md 2013-12-29 13:05:13 +01:00
Themaister 68e2051d0f Update some references. 2013-12-29 13:00:40 +01: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
twinaphex 1a20317cef (Android Location) Add metadata to manifest 2013-12-20 19:33:14 +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
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
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