Rename widget to telnet

This commit is contained in:
Jack Palevich 2015-02-14 11:28:52 -08:00
parent 723e5f2491
commit e8ba1d630c
12 changed files with 25 additions and 1 deletions

View File

@ -2,4 +2,4 @@ include ':emulatorview'
include ':term'
include ':examples:intents'
include ':examples:pathbroadcasts'
include ':examples:widget'
include ':examples:telnet'

24
tools/push-samples-debug Executable file
View File

@ -0,0 +1,24 @@
#!/bin/bash
# command line build script for installing and running terminal emulator.
set -e
if [ -z "${ANDROID_SDK_ROOT+xxx}" ]; then
echo "Please define ANDROID_SDK_ROOT to point to the Android SDK"
exit 1
fi
if [ ! -d "$ANDROID_SDK_ROOT" ]; then
echo "The directory $ANDROID_SDK_ROOT = ${ANDROID_SDK_ROOT} does not exist."
exit 1
fi
ADB="$ANDROID_SDK_ROOT/platform-tools/adb"
$ADB uninstall jackpal.androidterm.sample.intents
$ADB install -r examples/intents/build/outputs/apk/intents-debug.apk
$ADB uninstall jackpal.androidterm.sample.pathbroadcasts
$ADB install -r examples/pathbroadcasts/build/outputs/apk/pathbroadcasts-debug.apk
$ADB uninstall jackpal.androidterm.sample.telnet
$ADB install -r examples/telnet/build/outputs/apk/telnet-debug.apk