Mac 下Idea开发android项目,模拟发短信
1、启动模拟器,找出模拟器的端口(一般模拟器上方显示)
2、打开命令行终端,输入
telnet localhost 端口
telnet 客户端会连接android console,应该开到类似如下提示:
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Android Console: type 'help' for a list of commands
OK
以上表示操作成功。
3、模拟发短信
sms send 模拟号码 内容;例如:sms send 1380001380001 hello
4、模拟打电话
gsm call 模拟要打的号码;例如:gsm call 1380001380001
相关推荐
Nostalgiachild 2020-11-13
韩伟佳 2020-10-09
wuleihenbang 2020-09-16
zzqLivecn 2020-07-09
chenjinlong 2020-06-10
yinbaoshiguang 2020-06-09
sgafdsg 2020-06-04
ustcrding 2020-06-03
chenjinlong 2020-06-03
AndroidGA 2020-06-01
安辉 2020-05-27
绿豆饼 2020-05-26
CNETNews 2020-05-26
xilove0 2020-05-12
绿豆饼 2020-05-12
ChainDestiny 2020-05-07
doomvsjing 2020-05-07
hqulyc 2020-05-05
lyccsu 2020-04-30