As know by all, Bluetooth is the oldest method for wirelessly transferring files from one phone to another, but the transferring speed is slow. It’ll take ages to transfer a GB of file. Wi-Fi Direct technology offers high-speed data transfer without having to go through an access point and at a greater range. How to pair two Android phones via Wi-Fi Direct technology?
- Enable Wi-Fi Direct on both the devices by going to Wireless & Networks menu under Settings of your device. 
- Switch on Wi-Fi and select Wi-Fi Direct from the menu. It will start searching for other devices. 
- The second device will display the name of the other device. Tap the name of the device to peer the devices. 
- The receiving device will now have a message on screen named Invitation to connect. Accept the invitation. 
- When a device is connected, the status of both devices will change to connected. 
- To share a file, folder or app, tap the related item, then Share icon (or Send via button) and select Wi-Fi Direct from the list. Note that Wi-Fi Direct will only appear on supported devices. Note: Not all ICs or Jelly Bean Android devices will have Wi-Fi Direct technology built-in. If this option isn’t there in your device, it means you device will not support this feature.