Wi-Fi Direct is an extension to Wi-Fi, created by the Wi-Fi Alliance, that allows for Bluetooth style point-to-point networking as well as the more well known method of networking with access points that Wi-Fi traditionally uses. It is designed to make the process of connecting small intelligent devices like phones and cameras and even home appliances easier and faster. To make it easier to exchange information and files between devices as needed.
Questions tagged [wifi-direct]
852 questions
16
votes
1 answer
How to be notified when a peer is no longer available in the Wi-Fi Direct range?
I am developing an Android application based on the use of Wifi Direct API. I have registered in my Activity a BroadcastReceiver in order to be notified about the following Wifi Direct events:
WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION…

Rafael Fernandes Lopes
- 284
- 3
- 9
16
votes
1 answer
connect iPhone to Android's Wifi Direct soft AP
I know that Wifi Direct works by creating a Soft AP (software access point) in one of the devices. I also know that many Androids support Wifi Direct, but iPhones do not.
My question is: is it possible to create a device-to-device wifi link that is…

AlcubierreDrive
- 3,654
- 2
- 29
- 45
15
votes
2 answers
How can I share screen to another device base on WiFi direct connection
I want to develop an AP to share (SOURCE) screen to another (SINK) device by using WiFi direct connection.
I successfully connect two devices via Wifi direct API but getPresentationDisplay() returns null. It seems SOURCE device does not find any…

user2512862
- 151
- 1
- 5
15
votes
1 answer
Broadcasting over Wi-Fi Direct
I'm looking at the possibility to broadcast over a Wi-Fi Direct connection between multiple Android devices. I've created a simple message broadcasting application to test whether or not it works, but so far I haven't been able to broadcast a…

KatoStoelen
- 188
- 1
- 1
- 7
14
votes
2 answers
Steps to programmatically cast from android to miracast receiver
I'm trying to write an app that will start casting the screen from an Android phone to a TV via miracast. I'm using an HDMI dongle since the TV in question doesn't natively support miracast. I have been trying the code here, but it needs an…

CalumMcCall
- 1,665
- 4
- 24
- 46
13
votes
4 answers
Android WiFi Direct WIFI_P2P_PEERS_CHANGED_ACTION never received
I'm trying to make a multiplayer game for Android via WiFi direct. I followed the instructions on http://developer.android.com/training/connect-devices-wirelessly/wifi-direct.html in order to connect to devices.
The ActionListener i use with…

cargath
- 832
- 8
- 18
13
votes
2 answers
Android Wi-Fi Direct read rssi signal strength
I need to measure Wi-Fi Direct signal(RSSI signal) between two Android mobile phones.
How i can do that?

userInThisWorld
- 1,361
- 4
- 18
- 35
12
votes
2 answers
android to android live video stream via Wifi direct (P2P)
I have two android devices(phones).Let's call P1 and P2. I'm writing two apps, one for live-stream P1's camera video and other for view that video (from P2).
I want to connect these two devices via wifi Direct (No router). I have searched the…

ashan8k
- 161
- 1
- 2
- 8
11
votes
4 answers
range of distances in which Wi-Fi direct works
I'm developing an android app which is based on WiFi Direct technology(P2P), so I really need to know how many meters is the range of android WiFi direct performance.based on Android API Guides:
you can discover and connect to other devices when…

Soheil
- 1,676
- 7
- 34
- 65
11
votes
4 answers
How to auto-accept Wi-Fi Direct connection requests in Android
I have 2 Android devices using WiFi Direct. On one device I can get information about the other device using the WifiP2pManager class, and request a connection to the other device. However when I request a connection, the other device pops up a…

David Kethel
- 2,440
- 9
- 29
- 49
10
votes
3 answers
difference between sharing files using wifi direct and using wifi hotspot
Sharing files between two devices using wifi can be done by:using wifi direct
creating a hotspot on one device and connecting other device to it
what is the basic difference between these two methods
I mean in the both the options one device serves…

Gaurav Gupta
- 1,929
- 4
- 21
- 40
10
votes
4 answers
Android: How to get current device WiFi-direct name
In a P2P setting, I understand how to get another device's name, but how do I get my own device's name? (the one displayed in WiFi-direct under settings).
I have checked WiFiManager, WiFiInfo, and more with no success.

Daiwik Daarun
- 3,804
- 7
- 33
- 60
10
votes
3 answers
How change the device name in WiFi direct p2p?
Is it possibile to change the device name of WiFi direct through the code? I've tried to:
private WifiP2pDevice wDevice;
wDevice.deviceName = "newName";
But, obviously it doesn't work.
Any idea?!

user3809345
- 131
- 2
- 8
10
votes
1 answer
Clients/Peers communication with wifi-direct on Android platform
I have three Android devices: A,B,and C. They are connected via wifi-direct (assuming B is the group owner).
I just have two questions:
1. A want send a message to C, does the message have to pass the group owner B to reach C?
2. If the group owner…

Kan
- 133
- 6
9
votes
1 answer
Set up a Wifi-Direct connection between Android and Raspberry Pi 3 Linux
I want to connect two devices using Wifi-Direct. One is a RaspBerry PI 3 (with Raspbian Jessie), the other is an Android smartphone. Raspberry as server and Android as client.
I decided to use wpa_supplicant in Raspbian and the WifiDirect example…

Keles
- 369
- 1
- 2
- 14