在Android模拟器上模拟来电
2011-11-01 22:27
302 查看
2011-09-05
最近项目要做一个控制来电显示的Android 应用
需要在Emulator上模拟来电 效果
方法如下:
1.单个电话
打开命令行cmd,输入telnet 回车.
然后输入 o localhost 5554 回车,连到Emulator上.
输入gsm call 123456 上面显示OK
这时再去看模拟器,上面就有来电了.
其他:
挂断电话:gsm cancel <模拟打进的电话号码>
设置其他模式:gsm voice unregistered为网络无法联通,denied为紧急呼叫模式
参考:(http://www.my400800.cn )
help gsm
allows you to change GSM-related settings, or to make a new inbound phone call
available sub-commands:
gsm list list current phone calls
gsm call create inbound phone call
gsm busy close waiting outbound call as busy
gsm hold change the state of an oubtound call to 'held'
gsm accept change the state of an outbound call to 'active'
gsm cancel disconnect an inbound or outbound phone call
gsm data modify data connection state
gsm voice modify voice connection state
gsm status display GSM status
2. 多个模拟器模拟播打电话
启动多个模拟器,在模拟器A中播模拟器B的端口号码,即可。
3.发送短信
sms send <模拟发送短信的电话号码> <短信内容>
例如:sms send 1234567 Hello
相关文章推荐
- 在Android模拟器上模拟来电
- 利用android模拟器模拟任意号码来电
- 在Android模拟器上模拟来电
- 在Android模拟器上模拟来电
- Android模拟器使用模拟SD卡
- Android模拟器中模拟GPS、打电话、…
- android模拟器与pc,模拟器与模拟之间用socket进行通信和获得模拟器ip地址程序
- Android模拟器中模拟使用SD卡
- 如何在Android模拟器中模拟SD卡
- Android模拟器使用模拟SD卡
- android模拟器模拟定位GPS
- 一键按下 响起模拟来电
- 举例说明如何在android模拟器中创建模拟SD存储卡
- Android模拟器中模拟缩放
- Android模拟器与pc,模拟器与模拟之间用socket进行通信
- 两个android模拟器实现打电话发短信的模拟状态
- 在Android模拟器中模拟GPS、打电话、发短信……
- android模拟器Genymotion模拟GPS
- 在Emulator上模拟来电、短信等 效果
- 如何在android模拟器上模拟SD卡