0
调用正如你可能知道的,通过ADB调用命令是:通过ADB在PowerShell中
.\adb.exe shell am start -a android.intent.action.CALL tel:"656565"
这种运作良好,但是当我使用文本框,它需要垃圾值...
.\adb.exe shell am start -a android.intent.action.CALL tel:$textbox1.Text
我已经试过这也却未能
$button21_Click={
#TODO: Place custom script here
$textbox1.Clear
.\adb.exe shell am start -a android.intent.action.CALL tel:$textbox1.Text
}
请帮
你忘了你的'“'的? – FlyingStreudel
感谢您的回复....我应该在哪里添加'。? –
在你的例子中,你用'tel:“656565”'编写了调用,但是你的PS脚本会生成'tel:656565' – FlyingStreudel