27 Commits

Author SHA1 Message Date
Brad Parker
bc387a5848 convert tabs to spaces 2019-02-20 20:46:46 -05: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
Brad Parker
b76f3abfbc android: use current package name for external storage 2018-08-17 20:38:56 -04: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
Brad Parker
d5a1ad0a73 android: delay loading of RetroActivity until after permissions are granted 2017-06-14 20:19:52 +00: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
Brad Parker
c549f7e8d7 android: set XMB as default for Android TV devices 2017-03-10 22:17:05 -05: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
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 1841455462be12a7ed423f3b426333ce67852664. 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
radius
d9ebecb0ea fix indentation 2016-06-09 19:24:36 -05:00
Diablodiab
84bf2b0705 Add REFRESH parameter option to Android version. You can use this parameter to
specify a preferred refresh rate for Retroarch to use.
2016-01-11 21:45:46 +01:00
twinaphex
07109e8e89 Remove directory creation in Java 2015-12-03 20:43:28 +01:00
twinaphex
5c39744e5f (Android) Remove stub onLowMemory/TrimMemory 2015-12-03 09:25:41 +01:00
twinaphex
6e247ec9b1 (Android) Get rid of appcompat and other bloat 2015-12-03 08:46:47 +01:00
twinaphex
7925b4ce19 (Android) Reimplement 'Quit RetroArch' 2015-12-03 08:34:45 +01:00
twinaphex
f4f046fe17 (Android) Cleanup some includes 2015-12-03 07:28:54 +01:00
twinaphex
d171c831c3 (Android) Remove apk-extract 2015-12-02 06:28:46 +01:00
twinaphex
317049cd25 (Android) We now use the built-in assets extraction inside RA to
extract the 'assets' dir from the APK, no more Java JNI library
for this
2015-12-02 06:22:04 +01:00
twinaphex
0679916db1 Start setting up all the code needed for bundle assets
extraction
2015-12-02 03:55:28 +01:00
twinaphex
6b45695e83 Move apple and android to pkg/ 2015-09-20 15:49:19 +02:00