简体   繁体   English

使用接入点通过 WiFi 连接两部 Android 手机

[英]connecting two Android phones via WiFi using Access-Point

I was doing some research and I want to develop an application to share files between two Android Phones 2.2, via WiFi using one Access Point on the same network.我正在做一些研究,我想开发一个应用程序来在两个 Android 电话 2.2 之间共享文件,通过 WiFi 使用同一网络上的一个接入点。

Is it posible?有可能吗? in that case, what do i need?在那种情况下,我需要什么?

Thanks a lot,非常感谢,

Try Using Portable WiFi hotspot...尝试使用便携式 WiFi 热点...

Using that I just connected my HTC Explorer And Sony Ericsson Xperia neo v Through WiFi使用我刚刚通过 WiFi 连接了我的 HTC Explorer 和索尼爱立信 Xperia neo v

It's actually really easy to do.这实际上很容易做到。 Grab a copy of:获取以下副本:

http://jmdns.sourceforge.net/ http://jmdns.sourceforge.net/

This will allow one phone to find the other - then you can transfer any file between phones using sockets or http or whatever.这将允许一部手机找到另一部手机 - 然后您可以使用 sockets 或 http 或其他方式在手机之间传输任何文件。

You can use:您可以使用:

To detect other android devices make the server multicast and all client listen to it.要检测其他 android 设备,请让服务器多播并让所有客户端监听它。

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

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