On my huawei phone a new folder name wi fi direct was created to store all files and documents received via wi fi direct. Wi fi direct is a connection that allows for device to device communication linking devices together without a nearby centralized network.
Wi fi direct was initially called wi fi p2p or wi fi peer to peer.
What is wifi direct on android. This example demonstrate about how to use wifi direct on android. Well yes and no. Step 2 add the following code to res layout activity main xml.
You don t need an existing wifi network to connect to as the connection is made directly between two devices. What is wi fi direct. The wi fi peer to peer p2p apis allow applications to connect to nearby devices without needing to connect to a network or hotspot.
Different android phones may save the files received through wi fi direct to different path or folder on the phone. As mentioned above wi fi direct allows devices without their own internet connection to connect to one which does. Step 1 create a new project in android studio go to file new project and fill all required details to create a new project.
Wi fi direct p2p allows android 4 0 api level 14 and higher devices with the appropriate hardware to connect directly to each other via wi fi without an intermediate access point. Wi fi direct also known as peer to peer or p2p allows your application to quickly find and interact with nearby devices at a range beyond the capabilities of bluetooth. Depending on your device and current software the wi fi direct button may be located at the bottom of your screen on the wi fi page instead of a drop down menu.
So is wi fi direct just a glorified version of bluetooth. Lets sat you want to print from your laptop or smartphone to a wireless printer share images with someone sat across the. This will scan your surroundings and list all devices around you available for a wi fi direct connection.
It allows the wi fi enabled devices in the same wireless network to be connected directly without a wireless router. Wifi direct is a standard that allows the use of wifi radio frequencies typically 2 4ghz and 5ghz to make direct peer to peer connections with other devices. Similar to bluetooth technology the wi fi direct technology allows wi fi enabled devices to be connected together peer to peer.
On my samsung phone the default download folder receives all the incoming file transfer via wi fi direct. Tap wi fi direct on the drop down menu. Why would you use wi fi direct.
The idea behind wi fi direct is that simple tasks need simple connections. One device acts as an access point and the other device. In the case of android smartphones and devices you can connect them and quickly transfer files without the hassle of cables.