Just wondering whether anyone could tell me how to capture the long keypress of the volume down key in android.
Elaborated question:
I wanted to create a
Try with this command
adb shell input keyevent --longpress KEYCODE_VOLUME_DOWN