Calling via adb in Power shell
Posted
by
Imran Nasir
on Stack Overflow
See other posts from Stack Overflow
or by Imran Nasir
Published on 2013-06-27T16:14:08Z
Indexed on
2013/06/27
16:21 UTC
Read the original article
Hit count: 436
As you may know, the command for calling via adb is:
.\adb.exe shell am start -a android.intent.action.CALL tel:"656565"
This works well but when I use textbox, it takes garbage value...
.\adb.exe shell am start -a android.intent.action.CALL tel:$textbox1.Text
I have tried this also but failed
$button21_Click={
#TODO: Place custom script here
$textbox1.Clear
.\adb.exe shell am start -a android.intent.action.CALL tel:$textbox1.Text
}
Please help
© Stack Overflow or respective owner