Skip to content

Instantly share code, notes, and snippets.

@pavel-mukhanov
Created March 2, 2015 15:49
Show Gist options
  • Save pavel-mukhanov/6c5e9e561965f264de7a to your computer and use it in GitHub Desktop.
Save pavel-mukhanov/6c5e9e561965f264de7a to your computer and use it in GitHub Desktop.
#!/bin/bash
COUNTER=0
while [ $COUNTER -lt "$1" ]; do
adb shell am start -n "com.playdayteam.playday.debug/com.playday.app.ui.activity.entrance.SplashActivity"
sleep 3
adb shell am force-stop com.playdayteam.playday.debug
sleep 1
echo $COUNTER
let COUNTER=COUNTER+1
done
echo FINISH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment