Files
meteor/tools/cordova-scripts/set_android_proxy.sh
Justin SB ffc69aa010 Super-simple script to set android proxy
For discussion / demo really
2014-09-09 13:17:53 -07:00

10 lines
267 B
Bash
Executable File

#!/bin/bash
# import all the environment
source $(dirname $0)/common_env.sh
adb shell sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db \
"update carriers set proxy='10.0.2.2', port='3002' where current=1"
adb shell stop
adb shell start