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.
To share a file or folder over a network in File Explorer, do the following: Right-click (or long-press) a file, and then select Show more options > Give access to > Specific people. Select a user on the network to share the file with, or select Everyone to give all network users access to the file.
The peer to peer (P2P) sharing feature in Files by Google lets you send and receive files and apps without using mobile data or connecting to Wi-Fi. To share files with people nearby, all users must have the Files by Google app. If you haven't already, get the app from the Play Store.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With