I am trying to execute swipe command from my Apk using
process = Runtime.getRuntime().exec("adb shell input swipe 250 300
-800 300");
but nothing happens and no error occurs during runtime.
Do i have to add anything in manifest to get it to work?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…