Peer to peer connection in android

2019-04-17 04:01发布

问题:

Is there any way such that i can communicate with other android device in the same wifi network... for sharing files.

Can I have list of all android device connected to same n/w?

can any one refer me any api for doing that? or how can I make that thing happen?? this thing must be possible, Isn't it?

I think this is possible in Android 4.0, using WiFiDirectbut how that can be possible in lower level sdk's.

Thank you

回答1:

you should take a look at this WifiP2pManager