Questions tagged [wifip2p]

Wi-Fi peer-to-peer (WiFiP2p) is an Android framework that complies with the Wi-Fi Alliance's Wi-Fi Direct™ certification program. It allows Android 4.0 (API level 14) or later devices with the appropriate hardware to connect directly to each other via Wi-Fi without an intermediate access point.

326 questions
5
votes
1 answer

What can fail WifiP2pManager.connect?

I have a code that perform a Wifi P2p discovery, presents the nearby devices to the user and let him select to which device he wants to connect. The discovery is working as expected, but when I try to actually connect to the selected device, the…
Avi Shukron
  • 6,088
  • 8
  • 50
  • 84
5
votes
0 answers

How to achieve wifi display after connected by wifi direct

I want to make a wifi display app on my android phone (HongMi). The android version of my phone is 4.2.2 I modified the example WiFiDirectActivity and tried to combine it with this project Miracast-Sample. I know that I need to connect two devices…
Diaph
  • 136
  • 7
4
votes
2 answers

Create P2P connections with Wi-Fi Direct in Flutter

I want to use Wifi Direct p2p in my flutter project. When I searched about it, I got to know that it can be done using native APIs easily. Is there any Dart support to use p2p? Or I must have to go for native languages?
Sudesh Chaudhary
  • 395
  • 6
  • 13
4
votes
1 answer

Wi-Fi P2P From Linux to Android

I want to programmatically transfer a file from a Raspberry Pi with Wi-Fi access, running Linux (client), to an Android phone (host). I'm using this link as a guide for how to set up a P2P connection on Android, but I cannot find any references to…
Damino
  • 91
  • 1
  • 8
4
votes
1 answer

Is native C++ WiFi P2P networking possible on Android Devices?

My current Android project requires the ability to set up a "local" p2p network on neighbouring devices using some flavour of WiFi (e.g. WiFi, WiFi Direct, WiFi Aware etc..) Having tried the Android API's (and being unable to find any devices that…
Hector
  • 4,016
  • 21
  • 112
  • 211
4
votes
1 answer

React Native - How to make two devices communicate between each other when connected to the same network?

I'm working on a personal project in React Native and part of it involves two devices, regardless of whether they're Android or iOS and both using this app, sending each other some data in a JSON format. To give some context, three devices (A, B and…
4
votes
1 answer

Implementing a Wifi-Aware application outside Android

So I'd like to use Wifi-Aware for a program outside the Android universe (let's assume Linux/OSX/Windows) and cannot find any info on this at all. At first I thought it would suffice to use a Wifi-Aware certified product running one of these OSes…
llatrbng
  • 43
  • 5
4
votes
1 answer

WiFi P2P network in Android Things

I would like to create a P2P WiFi network using Android Things (5.1) and a couple of Raspberry Pi 3 or alternatively using Bluetooth. I followed the guide in the Android Developer section…
Antonio La Marra
  • 5,949
  • 4
  • 15
  • 23
4
votes
1 answer

Android Wi-Fi Direct P2P send data from server to client

I have an Android app where I'd like to send data between 2 or more devices using Android's WiFi Direct P2P feature. My app is created based off Google's WiFi Direct Demo. The problem is, I wan to send data from the my server (group owner) to the…
Mace123
  • 65
  • 1
  • 1
  • 7
4
votes
1 answer

Android Wifip2p: Why is group info null after connecting to group owner

I am trying to connect multiple devices to a group owner that I select manually I want the peers to connect to the group owner manually once they find him I have 3 phones (no emulators), on each there is a "Create group" button with this click…
vlatkozelka
  • 909
  • 1
  • 12
  • 27
4
votes
3 answers

Change WiFi-Direct IP range? Force IPv6 in Android WiFi-Direct?

I have two Android KitKat phones, both are running WiFi-Direct groups as Group Owners, let's call them GO1 and GO2 I managed to connect GO1 as a legacy client to GO2 without breaking any of the (previously set) wifi-direct groups. The problem is…
Gett
  • 143
  • 1
  • 11
4
votes
3 answers

WifiP2pManager.requestPeers() keeps returning old peers in onPeersAvailable()

So I did my homework and looked for similar questions, I actually found one person that had the same problem two years ago... he didn't get any answer though. The problem is the following: I'm doing the WifiP2p tutorial from android. I call…
Gett
  • 143
  • 1
  • 11
4
votes
0 answers

Bi directional file transfer like Xender

I tried my hands at WifiP2pManager. I discovered that we can create groups(group owner ie config.groupOwnerIntent = 15;) and peers can transfer data to this group owner. I would like to know if we can achieve something like xender using wifi direct…
Anish
  • 745
  • 2
  • 8
  • 21
4
votes
0 answers

How to modify Wi-Fi p2p frequency for non-rooted android?

I'm working on an Android Wi-Fi P2p project (also called WiFi direct). This is how I try to create the group: public class WiFiDirectBroadcastReceiver extends BroadcastReceiver { private WifiP2pManager mManager; private Channel …
noti
  • 887
  • 7
  • 25
4
votes
1 answer

Android Wi-Fi Direct: re-connect to a device without re-Discovery

I know how Wi-Fi Direct works and what is the Discovery phase, because i read the entire Wi-Fi Direct specification v1.1. When i want to connect to a device in Android, i must start the discovery phase. When onPeersAvailable in triggered, i can…
Stefano Cappa
  • 575
  • 3
  • 17
1 2
3
21 22