I'm trying to simulate the split screen action through adb by doing a long press on Overview virtual button.

adb shell input keyevent 187 ; sleep 2

The result is recents menu is shown only, but when I long press the Overview button myself it splits the screen. what's missing ?

Edit: longpress parameter isn't working too.

 adb shell input keyevent --longpress 187 ; sleep 2

P.S: input tap is out of the scope

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.