Android adb shell commands for generating input events to browse applications / menu

Following are the adb shell commands for generating input events which can help us to browse the applications or go to menu using adb.

Swipe Up

$ adb shell input swipe 100 100 0 0

Swipe Horizontal

 $ adb shell input swipe 200 200 0 0 

Go to Home Menu

 $ adb shell input keyevent 3 

Follow Lynxbee
Tags: ,

Leave a Reply / Ask Question