模拟蜂窝网络的基于Eclipse模拟器行为 [英] Simulate cellular network's behaviour on Eclipse emulator

查看:275
本文介绍了模拟蜂窝网络的基于Eclipse模拟器行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法来模拟在Eclipse Android模拟器蜂窝移动网络(GSM / UMTS)?

Is there any way to simulate the behaviour of a cellular mobile network (GSM/UMTS) in the Eclipse Android emulator?

更具体地说:我想开发一个应用程序来显示有关网络信息,如覆盖水平,由在 TelephonyManager 等相关课程。我想这样做尽可能多的调试尽可能与模拟器,在实际测试手机之前。

More specifically: I want to develop an app to show information about the network, such as coverage level, parameters of neighbouring cells etc, as provided by the TelephonyManager and other related classes. I would like to do as much debugging as possible with the emulator, before testing in an actual phone.

有关,我需要仿真手机看一个正常运作的蜂窝网络,其协议和参数​​。这可能吗?

For that I would need the emulated phone to "see" a functioning cellular network, with its protocols and parameters. Is that possible?

推荐答案

模拟器不给你设置事物的选择。我已经开发了用于显示网络参数,我发现是使用真正的手机的唯一途径是玩具的应用程序。

Emulator doesn't give you the option of setting that things. I have developed a toy app for showing network parameters and the only way I found was using a real phone.

顺便说一句,不是所有的手机都Android的API的所有方法,所以你会发现,一些参数不会显示。也有许多参数无法从API和你需要让他们扔AT命令(你需要一个植根设备)

By the way, not all phones implement all methods of Android's API, so you will find that some parameters will not be shown. And also many parameters are not available from API and you will need to get them throw AT commands (you will need a rooted device)

这篇关于模拟蜂窝网络的基于Eclipse模拟器行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆