Android: How to share files on a local network?

Akshay Pure picture Akshay Pure · Jul 11, 2015 · Viewed 13.3k times · Source

I want to create application which can share files through wifi similar to Xender/Superbeam. I don't want to rely on router or some other hotspot. I want to create new connection from one device and other devices should able to find and connect. How can I achieve any sample code or link will help.

Answer

Sahil Bahl picture Sahil Bahl · Jul 12, 2015

You can try using wifi Direct . Here is the documentation Wifi P2p You can also try out the demo by importing sample project. Also try out this extension of wifi p2p demo Even Superbeam uses wifi direct as a fallback.