我发现,它可能使模拟器设备上:如何模拟来电?
# connects to device
telnet localhost 5554
# set the power level
power status full
power status charging
# make a call to the device
gsm call 012041293123
# send a sms to the device
sms send 12345 Will be home soon
# set the geo location
geo fix 48 51
从here, 但是当我插入:
telnet localhost 5554
我得到以下几点:
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
也许这没有帮助我,因为我需要伪装成连接到计算机的真实设备。我需要一些adb shell命令。
你运行的操作系统? – jeprubio
我使用的是Ubuntu 16.10 – mordi
我发现我可以从真实设备调用: adb shell am start -a android.intent.action.CALL电话:1112223333,但我不想使用真实设备,只是假来电命令行 – mordi