|
[ul][li]NEWS [br][/li][/ul][ul][li]FORUMS [br][/li][/ul][ul][li]DEVICES [br][/li][/ul][ul][li]TOPICS [br][/li][/ul][ul][li]BEST POSTS [br][/li][/ul][ul][li][a href="https://www.xda-developers.com/tag/oneplus6t/"]OnePlus 6T[/a][br][/li][/ul][ul][li][a href="https://www.xda-developers.com/tag/android-q/"]Android Q[/a][br][/li][/ul][ul][li][a href="https://www.xda-developers.com/tag/qualcomm-snapdragon-855/"]Snapdragon 855[/a][br][/li][/ul][ul][li][a href="https://www.xda-developers.com/win-a-xiaomi-mi-9-open-to-all-countries/"]Win a Mi 9[/a][br][/li][/ul][ul][li][a href="https://www.xda-developers.com/tag/lgv40/"]LG V40[/a][br][/li][/ul][ul][li][a href="https://www.xda-developers.com/tag/google-pixel-3/"]Pixel 3[/a][br][/li][/ul][ul][li][a href="https://www.xda-developers.com/tag/honor-view20/"]Honor View20[/a][br][/li][/ul][ul][li][a href="https://forum.xda-developers.com/honor-hub/"]Honor Hub[/a][br][/li][/ul][ul][li][a href="https://www.xda-developers.com/tag/5g/"]5G[/a][br][/li][/ul][ul][li][a href="https://www.xda-developers.com/tag/samsung-galaxy-note-9/"]Galaxy Note 9[/a][br][/li][/ul]This Android app lets you long press the volume buttons to skip songs while the screen is off – WITHOUT Root![br][br]If you’ve ever installed a custom ROM before, then there’s a good chance you’ve seen a feature that lets you remap a long press of the volume button to control media playback. With this option enabled, you can long press the volume up button to skip to the next track or long press the volume down button to return to the previous track. The ability to skip songs with volume button presses is so ubiquitous among custom ROMs that we’re surprised to see it hasn’t made its way into software from major OEMs[br]We’ve covered ways to control music playback via the volume buttons using apps likebut none of these apps replicate exactly what custom ROMs are able to offer. If you use Tasker or Button Mapper, you can only remap single or multi-presses of the volume up and down buttons. Apps like these either listen for changes in the media volume or use an Accessibility Service to intercept button presses from the volume keys, but neither solution is viable to intercept long-pressing of the volume keys when the screen is off.[br][br]Shortly after the release of[br][br]Android 8.0 Oreo source code, I spotted a new Android feature that would allow an Android app to be set as the [br]We speculated that this new API would allow apps to control the long-press volume button behavior when the screen is off, thus finally making it possible to replicate the popular custom ROM feature without needing root. Although the feature was implemented in AOSP, Google never added a user-facing way to set an app as a volume key long press listener. Like with Android’s |
|