向Android模拟器发短信打电话

1.启动android emulator,查看标题栏找出端口。一般是android
emulator (5554),其中


5554就是端口。


2.打开命令行,输入telnet localhost 5554。程序将会连接到android console,返回


Android Console: type 'help' for a list of commands
OK


模拟电话打入gsm <call|accept|busy|cancel|data|hold|list|voice|status>


输入gsm call <模拟打进的电话号码>。如:


gsm call 15555218135



模拟短信发送sms send <senderPhoneNumber> <textmessage>
输入sms send <模拟发送短信的电话> <内容>。如:


sms send 15555218135 hello


其中,15555218135为模拟器手机号码
posted @ 2010-06-01 21:23  Mr▪King  阅读(724)  评论(0编辑  收藏  举报