Android 模拟器 Wi-Fi
模拟器可以连接Wi-Fi吗?由于我没有使用 eclipse 或任何 IDE...我正在尝试将独立模拟器连接到 Wi-fi
Is it possible to connect the emulator to Wi-fi? Since am not using eclipse or any IDE... Am trying to connect a stand alone emulator to Wi-fi
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
目前,虽然您可以在模拟器中使用计算机的互联网连接,但用它来模拟 Wi-Fi 并不可靠。当您切换/想要测试时, WifiManager 会感到困惑您的连接状态。
即使在 Android 1.5 中,也存在一些问题(问题 2571 - android),虽然您可以使用互联网来模拟 HTTP 连接和下载数据,但对 Wi-Fi 连接的更精细控制应该更好地通过设备来完成。
Currently, while you can use your computer's Internet connection in the emulator, it's not reliable to use it for simulating Wi-Fi. The WifiManager gets confused when you switch/want to test your connectivity state.
Even in Android 1.5, there were some problems with it (Issue 2571 - android), and while you can use your Internet for simulating HTTP connections and downloading data, finer control over Wi-Fi connectivity should better be done with a device.
如果您的意思是模拟器应该通过您的 PC/MAC 连接到互联网,那么它无需任何更改即可运行。
我可以通过模拟器中的浏览器浏览互联网,即模拟器具有互联网连接。
If you mean that the emulator should connect to the internet via your PC/MAC then it works without any changes.
I am able to browser the internet via the browser in the emulator i.e. the emulator has internet connectivity.