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
6
votes
2 answers
How to get the IP address of peer device in Android for WiFi-Direct(WiFi-P2P)?
I am trying to implement the WiFi-Direct(WiFi-P2P) in Android. I have reference the sample code in samples\android-19\legacy\WiFiDirectDemo.
I install the WiFiDirectDemo.apk on phone-A and run it. The phone-B turn on the WiFi-Direct(WiFi-P2P) in…

Martin
- 2,813
- 11
- 43
- 66
6
votes
1 answer
Forgetting old WiFi Direct connections
Is there a way to forget old WiFi Direct connections(in code)? I need this so as to change who becomes Group owner. I am setting groupOwnerIntent = 15 and yet not becoming Group owner.

nikhil_vyas
- 513
- 5
- 16
6
votes
1 answer
Difference between WiFi-Direct Api and Alljoyn framework
i want to build an android application using Wifi peer to peer without to be connected to internet, and without using an AP (Access Point) , so i wonder, if it's better to use the WiFi-Direct Api, or the framework Alljoyn to build it ? (i think that…

user3365607
- 65
- 6
6
votes
2 answers
WiFiDirect discoverServices keeps failing with error 3 (NO_SERVICE_REQUESTS)
I'm using WiFi P2P for network service discovery, and I'm following the instructions as outlined on the developer guide. Here's the relevant code in my service class:
public void onCreate() {
manager = (WifiP2pManager)…

Cypress Frankenfeld
- 2,317
- 2
- 28
- 40
6
votes
1 answer
Keeping Wifi-Direct Turned on AOSP devices
My friend and I are developing an app that streams synchronized music between android devices using wifi-direct. Our issue is that while the app works fairly well once phones are connected, it takes some doing to get phones to connect because on all…

cbartondock
- 663
- 6
- 17
6
votes
1 answer
Android WifiP2p - Get notified when a discovered device goes unavailable
I'm developing a Wifi-direct app in which i'm listing the devices that are available and when the device goes to "unavailble" status i have to remove it from the list.
I tried with the WifiDirectDemo sample, it successfully adds discovered devices…

user2007256
- 61
- 4
5
votes
2 answers
WiFi-Direct : How to Connect and interact with peers programmatically without user intervention?
We are trying to build an app where we need the WiFi direct application to check for Peers automatically and connect without any user intervention? I saw that we do have a Demo version in developers.android with a Demo but it has with Activity from…

Ratnakar
- 163
- 1
- 6
5
votes
0 answers
How to share an apk file with P2P socket in Dart flutter. (flutter_p2p)
I want to share an apk file over the socket.. I've already tried sending the "Hello World" message from one android device to another, and it works perfectly.
var socket = await FlutterP2p.openHostPort(port);
setState(() {
…

Abhijeet Dash
- 146
- 1
- 10
5
votes
1 answer
On using the WiFi Direct Api on Windows?
I'm currently developing an application where I need to create a link (read: WiFi link) between a desktop app (on Windows 10) and a tablet (Android, but it is irrelevant). Workflow: Push button -> elevate privileges if required -> Create hosted…

dom_beau
- 2,437
- 3
- 30
- 59
5
votes
1 answer
Why does Android Wi-Fi Direct only return one service at a time with discoverServices?
When you call discoverPeers in Wi-Fi Direct, it returns a list of peers to the onPeersAvailable method in the PeerListListener (once you call requestPeers). However, when you call discoverServices, you only get one service at a time to the…

celdridge91190
- 121
- 6
5
votes
1 answer
Is it possible to use Wi-Fi Direct from a non Universal application?
I've been trying to code a simple command-line based application (using C# and .NET from Visual Studio 2015 and Windows 10) to start a Wi-Fi Direct advertiser following Microsoft's Universal Samples, but manually adding references to the necessary…

S_Luis
- 502
- 5
- 13
5
votes
1 answer
fast direct communication between ios and android
at the moment I'm planning to build an cross-plattform app (iOS/android) that streams music from one device to others without internet. Now I'm considering which network technology is best for this use case. By the way I'm sorry I didn't say hello…

nilskober
- 188
- 2
- 12
5
votes
1 answer
How to Stop peer discovery in WifiDirect Android
I an trying to stop peer discovery in wifi direct using the code below.
public void StopPeerDiscovery(){
manager.stopPeerDiscovery(channel, new ActionListener() {
@Override
public void onSuccess() {
…

Furious
- 473
- 2
- 5
- 21
5
votes
1 answer
Android: How to share files on a local network?
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…

Akshay Pure
- 73
- 1
- 1
- 8
5
votes
1 answer
Connecting multiple devices and transferring data through Wifi Direct without access point
hi I am developing an application using wifi Direct . I want to send data from mobile A to mobile B & from mobile B to mobile C & C to D etc using Wifi Direct.
I am able to send data from A to B and B to C & C to D,but with access point(group…

Nithin
- 503
- 4
- 19