paho.mqtt.android/waitForEmulator.sh
James Sutton 52051b8978 Bug: 474722 - Adding missing gradle jar and build shell script.
These files are required for the Hudson CI Builds of the Android Service

Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
2015-08-27 14:56:41 +01:00

13 lines
287 B
Bash

echo Android Home is: $ANDROID_HOME
echo Waiting for Emulator to Boot.
while true; do
str=`$ANDROID_HOME/platform-tools/adb shell getprop init.svc.bootanim 2>&1`
echo -n .
if [[ $str =~ 'stopped' ]]; then
break
fi
sleep 5
done
echo Finished: $str
echo Emulator has booted.