如何模拟来电?

问题描述 投票:-1回答:1

我发现它可以在仿真器设备上制作:

# 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

可能它没有帮助我,因为我需要伪造cal连接到计算机的真实设备。我需要一些adb shell命令。

android automated-tests adb telnet
1个回答
1
投票

你可以直接从模拟器设置gui,点击三个点,然后'手机':

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.