简体   繁体   English

如何在android4.0平台的android仿真器中连接到ad-hoc网络?

[英]how to connect to ad-hoc network in android emulator in android4.0 platform?

我想开发一个可在我的PC上运行的android应用程序,并通过wify连接到不同的android设备并与之通信,因此我试图通过我的android phone连接一个临时网络。我发现这仅在android中受支持4.0.so,我想在仿真器中对此进行测试,如何将仿真器连接到ad-hoc wifi网络中,如果可以,请帮助我将仿真器连接到由我的笔记本电脑创建的ad-hoc网络中

No, my guess is that it's not. 不,我想不是。

It's not listed as a Property you can set when you create a new emulator. 它没有列为您在创建新模拟器时可以设置的属性。 Neither is it listed in the Emulator Control under DDMS. DDMS的“仿真器控件”中均未列出。

Besides, even if it were in there (which it's not), you'd probably still need two different computers to simulate the connection (not just one pretending to be connecting to itself). 此外,即使它在那里(不是),您可能仍需要两台不同的计算机来模拟连接(不只是一台假装自己连接的计算机)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM