Commit Graph

303 Commits

Author SHA1 Message Date
Aaron Kling
dd1fc5f3da Use new android location api 2019-06-26 10:17:28 -05:00
Aaron Kling
7fd49bbb2c Add variant builds
aarch64 is a 64-bit only build that was used for some time so users
on the main builds could use armv7 dynarecs. Keeping for now so
users of this variant won't lose updates.

ra32 is 32-bit only. Google is mandating 64-bit support in all
apps on the play store. So users of the main builds on 64-bit
devices will no longer have access to 32-bit cores. This build will
be available on alternate stores and via sideloading so cores with
only 32-bit dynarecs can be used on 64-bit devices.
2019-06-26 10:17:28 -05:00
Aaron Kling
740793fc9e Add gradle build script for android 2019-06-26 10:17:28 -05:00
Aaron Kling
2b659d0c21 Add gradle wrapper 2019-06-26 10:17:28 -05:00
Aaron Kling
f897af830e Move legacy android support to a separate project
Newer android sdks no longer support android apis before 14. Split
the legacy support into a new project.
2019-06-26 10:17:28 -05:00
Aaron Kling
75ddfbd0ec Split bulk of android project into a common folder 2019-06-26 10:17:28 -05:00
Aaron Kling
ba6766ff28 Remove now duplicated android package phoenix-gradle
Since the main build is switching to gradle, no need for a debug
only copy. Move the sideload instructions to a subfolder of the
main project.

TODO: Clean up sideload instructions to make sense as part of the
main project.
2019-06-26 10:17:28 -05:00
Aaron Kling
ffe8c1e5fe Remove unnecessary duplicated android resources 2019-06-26 10:17:28 -05:00
Aaron Kling
540934b715 Remove duplicated 64-bit android pkg directory
Move banner, the only real difference from the main folder, into
a secondary resource folder in the main project.
2019-06-26 10:17:28 -05:00
radius
d8c4c4e276 further cleanup 2019-05-28 16:29:49 +02:00
radius
87452b2eac fixup layout path on android, add some comments, move the order of the user directories 2019-05-28 16:29:36 +02:00
twinaphex
385b8de194 Backport 2019-05-17 05:31:55 +02:00
twinaphex
ebaa5b9941 Undefine HAVE_VIDEO_LAYOUT for now instead of implicitly enabling
it for every platform - will have to be individually enabled for
each platform first after rigorous testing
2019-05-13 01:57:26 +02:00
Huw Pascoe
7e0592198d video_layout build 2019-05-11 09:58:46 +01:00
twinaphex
3853d89f13 (Android Phoenix) Update versioncode 2019-05-10 09:02:29 +02:00
Twinaphex
8c17f12f97
Update AndroidManifest.xml 2019-05-08 07:24:33 +02:00
twinaphex
55aa6039d6 Unfortunate but what's done cannot be undone 2019-05-08 04:49:13 +02:00
twinaphex
a038dc785d Bump up version to 1.7.7 2019-05-05 03:30:17 +02:00
twinaphex
f2fbaf2cb4 (Android) Add HAVE_MENU_WIDGETS 2019-05-03 17:52:30 +02:00
Brad Parker
a5e52bd3c7 android: set preferred OS language on first start 2019-04-16 02:09:38 -04:00
radius
0c2f5093b2 disable forced logging on android 2019-03-17 14:28:17 -05:00
radius
8fd0aedc56 add log to file settings 2019-03-17 14:28:17 -05:00
Brad Parker
77c8688d6a android: bump msvc project to api level 26 2019-03-13 12:28:14 -04:00
Brad Parker
44a06d69a6 android: add gamepad rumble support 2019-03-13 03:32:18 -04:00
Brad Parker
954c54baee add device vibration option for cores that support rumble (with initial android implementation) 2019-03-12 13:07:16 -04:00
Brad Parker
f6dc7f4f02 android: add option to vibrate on touch 2019-03-10 21:36:52 -04:00
Brad Parker
f5f492845f add setting for screen orientation, with initial android implementation 2019-02-21 00:31:55 -05:00
Brad Parker
bc387a5848 convert tabs to spaces 2019-02-20 20:46:46 -05:00
twinaphex
b229e9d803 (Android) Update 2019-02-09 19:27:50 +01:00
twinaphex
5855391ac4 (Android) Bump up target SDK to 26 2019-02-06 06:03:25 +01:00
twinaphex
db04ac0b2a Bump to version 1.7.6 2019-01-31 23:38:10 +01:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
langerhans
3c5a391c9e Android: Implement Gradle build for easy debugging
Adds a CoreSideLoadingActivity to sideload cores for debugging purposes.
Adds instructions on how to debug both the RetroArch frontend and cores from within Android Studio

Co-authored-by: natinusala <natinusala@gmail.com>
2018-12-23 18:02:38 +01:00
twinaphex
7d35bd1649 (Android/Mac/iOS) Add ozone 2018-11-18 17:26:57 +01:00
twinaphex
ba020720db Add HAVE_NETPLAYDISCOVERY 2018-10-12 18:29:52 +02:00
twinaphex
c9c6c5a5a6 Bump up APK codes 2018-10-01 21:45:07 +02:00
twinaphex
ac51c0013c Fix typo 2018-09-30 13:33:53 +02:00
twinaphex
5b4500141d Add RC_DISABLE_LUA for now for non-Makefile.common targets as general
precaution
2018-09-29 21:08:35 +02:00
twinaphex
a44c9bf011 Update Android Makefiles 2018-09-29 20:45:08 +02:00
twinaphex
fb2846f0a2 Add another include dir for Android 2018-09-29 20:28:18 +02:00
Twinaphex
48e7f7b7fb
Update AndroidManifest.xml 2018-09-21 10:43:20 +02:00
Twinaphex
fd9636beb2
Update AndroidManifest.xml 2018-09-21 10:43:07 +02:00
radius
3dd3aae5f1 update icons again 2018-09-19 21:29:10 -05:00
radius
4898d733d0 refine the icons again, made them bigger within the canvas 2018-09-19 02:37:29 -05:00
radius
a0cab184db update AARCH64 icon 2018-09-17 21:26:53 -05:00
radius
2ff8bdc14a update assets 2018-09-17 21:03:09 -05:00
twinaphex
50398c2a35 Bump version up to 1.7.5 2018-09-15 20:24:04 +02:00
Brad Parker
055eff653a android: add text to xhdpi banner per TV app quality guidelines 2018-09-15 12:39:35 -04:00
twinaphex
b1643f9275 (AArch64) Needs to be set to SDK level 26 for Google Play 2018-08-30 01:47:15 +02:00
twinaphex
7234544669 Update version 2018-08-29 01:48:37 +02:00
Brad Parker
b76f3abfbc android: use current package name for external storage 2018-08-17 20:38:56 -04:00
Brad Parker
1fba7df859 use existing src folder for android64 instead of duplicating it 2018-08-17 09:40:13 -04:00
twinaphex
1b544d6879 (AArch64) Add separate android phoenix dir 2018-08-15 13:08:06 +02:00
twinaphex
c540d83850 (MSVC 2017 Android) Update library name 2018-08-15 12:30:11 +02:00
twinaphex
f53349e3dd Move MSVC 2017 files to android/phoenix 2018-08-15 10:46:24 +02:00
Aaron Kling
dc807f25cf Fix android armeabi and x86_64 core updater urls 2018-07-12 20:06:03 -05:00
twinaphex
8a1c0be83c (Android) Another potential buildfix; define ENABLE_HLSL
(slang_process) Put HLSL/Cg code around ENABLE_HLSL ifdef
(SPIRV-Cross) Make sure macros no longer need to be redefined; make them
unique in both glsl and hlsl files; needed for Griffin builds
2018-06-26 13:18:17 +02:00
Brad Parker
aa083d1e4c android: add configurable setting for Sustained Performance Mode 2018-06-19 02:50:33 -04:00
Brad Parker
612ed942d0 android: enable sustained performance mode if supported, bump target API to 24 2018-06-18 12:56:14 -04:00
Brad Parker
7176bb19ad support powerstate/battery level in Android 2018-06-16 19:15:16 -04:00
twinaphex
91744d9dd0 Bump up version code 2018-05-04 16:27:14 +02:00
twinaphex
b2ceb50897 Update to 1.7.3 2018-05-04 05:45:22 +02:00
twinaphex
238091f182 (OSX/Android) Add Dr. Flac/Dr. Mp3 support to Android/OSX 2018-04-28 14:33:48 +02:00
twinaphex
80025692c1 (Android) Bump up version code 2018-04-26 21:25:38 +02:00
Twinaphex
d65b387d0f
Update AndroidManifest.xml 2018-04-24 19:03:57 +02:00
twinaphex
9164bcc244 Add HAVE_RUNAHEAD to Android 2018-03-31 04:22:18 +02:00
twinaphex
319d87cf6f Bump up version 2018-03-20 08:35:17 +01:00
radius
e9fdfd2334 try to fix building yet again 2018-03-20 01:46:30 -05:00
twinaphex
9f33ba8607 (Vulkan/D3D11/D3D12) Add HAVE_GLSLANG now to both Android and MSVC solutions - shaders
should work now
2018-03-02 02:14:29 +01:00
twinaphex
b6347420d3 Set 1.7.1 2018-02-17 16:43:51 +01:00
twinaphex
2963288b29 SPIRV-Cross and glslang will compile with Griffin/MSVC targets now 2018-02-04 14:21:34 +01:00
twinaphex
80dbef47cb (Android) Add HAVE_SLANG/HAVE_SPIRV_CROSS 2018-02-03 21:36:42 +01:00
twinaphex
a74ef2214d Start removing SINC ifdefs for individual Makefiles 2017-12-31 21:34:31 +01:00
twinaphex
2fd3f41865 Bump to version 1.7.0 2017-12-25 18:17:57 +01:00
twinaphex
6f5cad5f59 Bump to version 1.6.9 2017-11-21 16:32:24 +01:00
twinaphex
2c7e5f98fc Bump version code 2017-11-21 16:26:45 +01:00
twinaphex
0c65e6e4e9 Start bumping version to 1.6.8 2017-11-18 12:21:25 +01:00
twinaphex
67fea30406 Remove remaining references to HAVE_FBO 2017-11-13 08:55:41 +01:00
twinaphex
01ac15716e (Android) Add extra include dirs 2017-11-06 23:32:02 +01:00
twinaphex
7acda37b4e This does not work right now 2017-09-27 23:50:40 +02:00
twinaphex
bf8811ca64 Update 2017-09-26 00:47:07 +02:00
twinaphex
76e9aaf172 Start using DTD file 2017-09-26 00:44:55 +02:00
twinaphex
939b3b8772 Updates 2017-09-21 19:37:05 +02:00
twinaphex
f58329d921 Add include dir for libflac 2017-09-20 23:20:17 +02:00
twinaphex
b3a45a9899 Enable HAVE_FLAC and HAVE_CHD for Android 2017-09-19 21:19:34 +02:00
radius
bb2a92c980 add defines to android builds 2017-09-11 00:21:48 -05:00
twinaphex
a235c0b771 Bump up AKP code 2017-08-21 08:30:46 +02:00
twinaphex
73e00e021a Bump up version to 1.6.7 2017-08-17 21:09:42 +02:00
twinaphex
47cf178309 Bump up version to 1.6.6 2017-08-16 23:59:15 +02:00
twinaphex
02cfe1f7c0 Bump up version to 1.6.5 2017-08-13 19:07:58 +02:00
radius
d2f870a2a1 update banner 2017-08-09 13:13:59 -05:00
radius
23d9637dc0 update icons 2017-08-09 13:04:56 -05:00
twinaphex
08118cb445 Bump up to 1.6.4 2017-08-07 19:16:09 +02:00
twinaphex
d05dfcce78 Bump up APK code 2017-07-31 15:09:33 +02:00
twinaphex
adae0656eb Bump up versions 2017-07-28 06:42:02 +02:00
twinaphex
434bec8775 No longer bake in tinyalsa for android 2017-07-09 00:14:46 +02:00
twinaphex
aaa590c817 (tinyalsa) No longer a header dependency on sound/asound.h
(tinyalsa) Try to bake it in for android
2017-06-25 02:06:37 +02:00
Brad Parker
d5a1ad0a73 android: delay loading of RetroActivity until after permissions are granted 2017-06-14 20:19:52 +00:00
radius
8f55e77afe disable NEON 2017-06-04 21:00:40 -05:00
radius
c6c8881ab2 add AARCH64 defines 2017-06-04 20:38:53 -05:00
twinaphex
a4358deb0d Bump versioncode 2017-06-01 17:27:20 +02:00
twinaphex
1056027d4d Bump up version code to 54 2017-06-01 03:49:51 +02:00
twinaphex
6bf867330f (Android) Add -DHAVE_STB_VORBIS 2017-06-01 01:17:47 +02:00
radius
79fdccb31f bump 2017-05-27 20:12:48 -05:00
radius
80f9e6db90 update atv banner 2017-05-21 23:47:59 -05:00
radius
2797aae6cf update atv banner 2017-05-21 23:47:48 -05:00
Brad Parker
84558215fd android: permission result is only valid if our request code matches 2017-03-20 15:58:25 +00:00
Brad Parker
61cbb25b12 add callback for permission request result, style nits 2017-03-20 14:46:43 +00:00
Brad Parker
b1e94e8215 android: add runtime permission checking for Android 6.0+ 2017-03-20 05:25:05 +00:00
twinaphex
137f8df057 Bump up version code 2017-03-13 20:28:20 +01:00
Brad Parker
c549f7e8d7 android: set XMB as default for Android TV devices 2017-03-10 22:17:05 -05:00
twinaphex
9e2ae4aca4 Use 1.5.0 2017-03-07 18:33:35 +01:00
twinaphex
c5717ecd84 Start bumping up to version 1.4.2 2017-03-05 20:51:15 +01:00
twinaphex
b3d71320bc Add miniupnpc to Android 2017-02-16 00:59:32 +01:00
Diablodiab
77e479a8bc Adds two new parameters that can be passed to the Android version of Retroarch at launch:
QUITFOCUS
If enabled this will cause Retroarch to quit completely when it loses focus (eg. when the home button is pressed). This is useful when you are using an alternative launcher such as Kodi because it will make the home button function as an alternative quit key, return to the alternative launcher, and then allow for a different game to start instead of returning to the current session.

HIDEMOUSE
Normally it is not possible to hide the mouse cursor if you have attached an external mouse to your Android unit. This makes it difficult to implement mouse support in the Android version of Retroarch because you will end up having two mouse cursors on the screen. NVIDIA has implemented extensions on the SHIELD that allows for hiding the mouse cursor. If this parameter is provided when starting Retroarch it will check for these extensions and if available it will hide the mouse cursor.

(I am almost done with adding mouse support to the Android input driver and will be submitting a suggestion for this very soon)
2017-02-12 13:26:18 +01:00
twinaphex
d8855caae9 Update to version 1.4.1 2017-02-02 22:20:33 +01:00
twinaphex
9cf923fbeb BUmp up version for Android 2017-01-07 04:46:05 +01:00
Twinaphex
fb7ed87d2e Revert "(Android) Ask for external sdcard permission" 2016-12-30 01:32:11 +01:00
hunterk
7e8163c34e Revert "(Android) reload cores path every lauch"
This reverts commit 1841455462. This commit was breaking Android builds on the buildbot.
2016-12-29 10:29:59 -06:00
Aaahh Ahh
1841455462 (Android) reload cores path every lauch
Reload the path instead of saving and reusing every launch
2016-12-25 15:39:06 -05:00
Aaahh Ahh
ac80cffdce (Android) Ask for external sdcard permission
Permission has to be explicitly asked for or it won't be granted on api 23 or higher.
2016-12-25 15:06:54 -05:00
twinaphex
52a41e77c4 (Android) Buildfix 2016-12-12 13:26:45 +01:00
twinaphex
9375efe24e Add HAVE_CC_RESAMPLER defines 2016-12-12 12:44:29 +01:00
Logan McNaughton
0b0bdadeee Don't define HAVE_OPENGLES2 for Android if GLES=3 2016-12-08 15:22:00 -07:00
twinaphex
4d23ba91fc (Android) Buildfix 2016-12-05 04:24:45 +01:00
radius
b1531618f1 add git version to android build 2016-11-26 16:02:12 -05:00
radius
415f84e13f having it as preferExternal accomplishes literally nothing!
Basically it saves the apk file (that is used ONCE) in the external SD but all the data files are created in the same location in the internal partition
Having it as preferExternal causes installation issues on some devices (have to remove the SD card to install the app..., then insert again)
2016-11-25 13:48:41 -05:00
twinaphex
9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
twinaphex
3b8ae65afb (Android) Re-enable Vulkan 2016-09-29 12:22:31 +02:00
twinaphex
efdee89d09 Create samples 2016-09-28 12:44:41 +02:00
twinaphex
e25472013f Move dir variable 2016-09-20 01:54:59 +02:00
twinaphex
2f17fdd651 Update Android.mk 2016-09-20 01:54:24 +02:00
twinaphex
88dd3c131c Get rid of jni/Android2.mk 2016-09-19 19:31:33 +02:00
twinaphex
6f47289ba6 Start adding HAVE_CONFIG_H to gfx/drivers_context 2016-09-06 19:39:02 +02:00
twinaphex
fda2495021 Get rid of HAVE_ZLIB_DEFLATE - implicitly enable it 2016-08-02 15:34:48 +02:00
twinaphex
83452f3a0b (Android) Add HAVE_IMAGEVIEWER 2016-07-31 14:24:17 +02:00
twinaphex
218d6f5262 Bump up to 1.3.6 2016-07-17 01:05:18 +02:00
radius
33315d4b66 bump up version everywhere 2016-07-15 12:09:50 -05:00
twinaphex
465ac5707c Add HAVE_NETWORKGAMEPAD 2016-06-27 06:38:47 +02:00
Hans-Kristian Arntzen
596cd320c6 Vulkan: Update SPIRV-Cross and glslang. 2016-06-25 14:44:56 +02:00
radius
d9ebecb0ea fix indentation 2016-06-09 19:24:36 -05:00
twinaphex
63af59a198 Add HAVE_LANGEXTRA 2016-06-07 06:05:41 +02:00
twinaphex
883d9ff6b5 Add HAVE_SHADERPIPELINE define 2016-06-07 00:00:28 +02:00
twinaphex
de2d15c716 Add extra image format support to targets 2016-05-18 13:39:42 +02:00
twinaphex
25ec6a8872 Add HAVE_JPEG to project files 2016-05-17 13:39:06 +02:00
twinaphex
65d33700d4 Move audio_utils to libretro-common as s16_to_float 2016-05-16 11:33:49 +02:00
twinaphex
2422dfbbbe (libretro-common) Create libretro-common/conversion/float_to_s16 2016-05-16 11:11:02 +02:00
twinaphex
4ae92cfc4b (Android) Bake in Vulkan, and use spirv-cross now 2016-05-15 14:02:48 +02:00
twinaphex
e730dd6ae2 (Android) Change STL 2016-05-15 13:53:12 +02:00
twinaphex
315c6b9687 Cleanups 2016-05-12 10:44:15 +02:00