B4X:
Dim p As Phone
Dim sb,se As StringBuilder
sb.Initialize
se.Initialize
p.Shell("input tap 250 250",Null,sb,se)
or
p.Shell("input keyevent 66",Null,sb,se)
I've tried it on different non-root phones, and the app crashed.
but if I run from windows
adb.exe shell input tap 250 250
or
adb.exe shell keyevent 66
it works.
what is the difference ?
help me please.