GRVTY
Lurker
3 yrs ago i wrote this code and i used to execute it easily on the android screen. Now I feel defeated since i cannot remember anything on how to run this SCRIPT using adb shell so that it creates a loop inside my Android Samsung's phone screen to make a certain loop. Can you please help this is the code
`#Enter your adb location
> cd /c/adb
array=( "Text" "test2" "test3" "test4" "test5"
)
for element in ${array[@]} do
echo
Add: $element ./adb shell input text $element sleep 2 ./adb shell input tap 112 402 sleep 2 ./adb shell input tap 388 546 sleep 2 done
echo "Finished"`
I tried so hard but in the end it didnt even matter
`#Enter your adb location
> cd /c/adb
array=( "Text" "test2" "test3" "test4" "test5"
)
for element in ${array[@]} do
echo
Add: $element ./adb shell input text $element sleep 2 ./adb shell input tap 112 402 sleep 2 ./adb shell input tap 388 546 sleep 2 done
echo "Finished"`
I tried so hard but in the end it didnt even matter