Alon Shalev Alon Shalev - 10 months ago 372
Android Question

How can I scroll an application using adb?

I am looking for a way to scroll up or down with

for different types of apps.

How can I scroll apps like Facebook or CNN using an


Scroll up:

adb shell input swipe 300 300 500 1000 

Scroll down:

adb shell input swipe 500 1000 300 300 

You could adjust coords if you need more precise swipe.