Trigger - Volume Long Press Event
The trigger Volume Long Press Event is executed when one of the volume keys is pressed down for a longer duration or hold and then released.
adb has to be used to grant a permission to Automagic to use this feature:
adbon a computer (search internet on how to install adb)
- enable USB Debugging in System settings -> Developer options on your Android device
- connect your Android device to the computer
- execute following command in a terminal:
adb shell pm grant ch.gridvision.ppam.androidautomagic android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER
Warning: Activating this trigger prevents that holding the volume button for a longer duration changes the volume.
Warning: This trigger can miss Up events in case an app or dialog is shown while the volume key is held down.
- Hold the volume down key pressed to skip to the next song.
See action Script for a description.