最近项目要做一个控制来电显示的Android应用 需要在Emulator上模拟来电效果 方法如下: 1.单个电话? 打开命令行cmd,输入telnet 回车. 然后输入 o localhost 5554 回车,连到Emulator上. 输入gsm call 123456 上面显示OK 这时再去看模拟器,上面就有来电了. 其他: 2. 多个模拟器模拟播打电话 3.发送短信 ? ? ? Vista系统中使用Telnet服务器问题 ? 【问】 Vista下 输入telnet,提示没有找到该文件,如何找回telnet呢。 ? ?
挂断电话: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
启动多个模拟器,在模拟器A中播模拟器B的端口号码,即可。
sms send <模拟发送短信的电话号码> <短信内容>
例如:sms send 1234567 Hello
【答】 很多在Vista下没有找到telnet程序,如在“开始”的“运行”或“搜索”框中输入telnet,提示没有找到该文件,其实Vista默认是不安装的,由于是针对服务器设置的,在Windows Server 2008中是默认安装的。
????????????? 解决的方法也很简单,直接安装Vista的系统组件中安装即可,操作步骤,“我的电脑”->“控制面板”->“程序和功能”中,在左边的树图中可以看到“打开或关闭 Windows 功能”,在打开的新对话框“Windows 功能”中可以看到 “telnet服务器”和“telnet客户端”,我们选中这两项,telnet就恢复了,如果仅用于连接远程服务器,我们只需安装“telnet客户端”即可。
详细解决方案
在Android模拟器上模拟回电
热度:37 发布时间:2016-05-01 18:53:04.0
相关解决方案
- android 读取byte[]中的元素解决方案
- android 标题栏兑现方式
- android 中Activity向BroadcastReceiver发送数据,该怎么解决
- Android 4.0 为什么模拟器老是提示小弟我谷歌拼音输入法已停止
- android:getSharedPreferences() 这是哪个类的方法解决思路
- android 怎么判断一个程序是否联网
- android 大量数据按周分组,该如何解决
- android RadioButton如何设置默认选中
- ksoap2-android-这个包,连接webService怎么设置超时
- android 怎么重新设置锚点
- android UI界面设计解决方案
- android 图片对象获取的有关问题
- android 怎么调用淘宝支付宝接口
- Android 沿袭InputMethodService自定义输入法
- android 关于服务连接的疑义
- android 两个activity如何通信
- android 怎么实现对view的放大和缩小
- android 教程解决方法
- android ID,该如何处理
- 准备复习2-3个月,看java+android,请问有经验者,怎么看效果最好》
- android UI线程与AsyncTask的有关问题
- android(java)中的java.net能不能和c#的system.net.sockets进行tcp通信,该如何解决
- android ListView 中的onItemClick Intent 没法跳转
- android(java) 中文乱码的有关问题
- c#c++,android,ios(iphone),php,java视屏课程 散分
- android Post文件到ASP.NET的有关问题,能收到参数收不到文件
- RIM 替 Android 开发者提供免费的 PlayBook!2月13日前
- android 动态设立控件高度
- Android test project 编译方法
- android -相机使用教程(1)解决方法