Commit Graph

61 Commits

Author SHA1 Message Date
LibretroAdmin 5ee1e16595 Revert "Android: Improvements to DocumentProvider Added move and rename methods Provider notifies viewer to refresh view when files are changed Bumped up TargetApi annotation for DocumentsContract.buildTreeDocumentUri. Could alternatively use androidx compat class."
This reverts commit 72db30128c.
2024-07-01 20:40:48 -05:00
LibretroAdmin e91f9ab641 Revert "Android: Remove External Storage permission"
This reverts commit 850560d1b6.
2024-07-01 20:40:48 -05:00
LibretroAdmin 61d830eea2 Revert "Android: Add function to migrate RetroArch folder from sdcard."
This reverts commit b7235e426f.
2024-07-01 20:40:48 -05:00
LibretroAdmin 8b13a4ab0c Revert "Improvements to migration code Will be squashed before commit"
This reverts commit 3dab003b19.
2024-07-01 20:40:48 -05:00
cwyc 3dab003b19 Improvements to migration code
Will be squashed before commit
2024-06-30 20:31:23 -05:00
cwyc b7235e426f Android: Add function to migrate RetroArch folder from sdcard. 2024-06-30 20:31:23 -05:00
cwyc 850560d1b6 Android: Remove External Storage permission 2024-06-30 20:31:23 -05:00
cwyc 72db30128c Android: Improvements to DocumentProvider
Added move and rename methods
Provider notifies viewer to refresh view when files are changed
Bumped up TargetApi annotation for DocumentsContract.buildTreeDocumentUri. Could alternatively use androidx compat class.
2024-06-30 20:31:23 -05:00
Patrick Stankard 5452999b2a
Fix mouse grab behavior on Android (#16203)
* Add grab_mouse interface for Android
Makes mouse grabbing and 'Game Focus' work on Android with a real mouse
Properly handle relative mouse motion events on Android (SDK 28 and newer)

* Enable workflow_dispatch on CI Android

* Update android_mouse_calculate_deltas callsites

* Add RETRO_DEVICE_MOUSE to android_input_get_capabilities

* Use Handler to trigger UI events (toggle mouse, immersive mode) with 300ms delay

* Enable input_auto_mouse_grab by default for Android

* Handle RARCH_DEVICE_MOUSE_SCREEN in Android input driver

* Add android.hardware.type.pc to manifest

* Don't attempt to set pointer speed via scaling in android_mouse_calculate_deltas

* Keep x/y values within viewport resolution for screen mouse

* Use video_driver_get_size to get width/height

---------

Co-authored-by: Bernhard Schelling <14200249+schellingb@users.noreply.github.com>
2024-03-19 05:33:02 -07:00
Rafael Toledo 03edf4f6a9
[Android] Include adaptative launcher icons (#13423) 2022-02-18 18:40:18 +01:00
Braden Farmer 5bacf1e9be
[Android] Populate external storage devices inside the file browser on Android 11+ devices (#13615)
[Android] Populate external storage devices inside the file browser on Android 11+ devices
2022-02-15 16:11:39 +01:00
Braden Farmer 11de2ae1fe [Android / Play Store] Implement MANAGE_EXTERNAL_STORAGE permission 2021-11-07 23:08:24 -07:00
Braden Farmer 27e19318ce [Android] Add a DocumentsProvider for easier access to the app's internal storage 2021-03-24 23:06:38 -06:00
Pedro b6655034ef Implementation of fullscreen over notch function. 2020-08-27 20:41:30 -03:00
Aaron Kling d00fbf4cce android: remove location support 2019-07-09 11:29:31 -05:00
Twinaphex 9b90952b22
Update MainMenuActivity.java 2019-07-09 00:44:55 +02:00
twinaphex 2ee9b1d98e Revert "Revert "Gradle""
This reverts commit e8cf66f0a9.
2019-06-27 17:55:38 +02:00
twinaphex 8037cbe3dc Revert "(Android) Backport c9218bbd23"
This reverts commit 6e4c8ec6a6.
2019-06-27 17:55:19 +02:00
twinaphex 01c489eee0 Revert "(Android) Backport"
This reverts commit adf4bd753b.
2019-06-27 17:55:12 +02:00
twinaphex adf4bd753b (Android) Backport
dd1fc5f3da
- not sure if we should include the location permission - some users
would question why they would need to grant this permission for just one
test core
2019-06-27 11:00:06 +02:00
twinaphex 6e4c8ec6a6 (Android) Backport c9218bbd23 2019-06-27 10:57:37 +02:00
Twinaphex e8cf66f0a9
Revert "Gradle" 2019-06-27 08:00:12 +02:00
Aaron Kling c9218bbd23 Wrap some android code in api version checks 2019-06-26 10:17:28 -05:00
Aaron Kling dd1fc5f3da Use new android location api 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
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
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
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
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 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