834 questions
2
votes
0
answers
207
views
How to increase file transfer speed using Wi-Fi Direct + NSD + Java Sockets (BIO) in Android (Jetpack Compose, Kotlin)?
I'm building a file-sharing Android app in Kotlin, using Jetpack Compose for the UI. My goal is to achieve high-speed file transfer over Wi-Fi Direct between two Android devices.
⚙️ Tech Stack:
Wi-...
0
votes
1
answer
95
views
How to bindProcessToNetwork for a Wi-Fi P2P network?
I'm using Wi-Fi P2P network on Android in order to connect to an IoT device. The connection is established all the time. The device runs a DHCP server:
private class WiFiDirectBroadcastReceiver ...
0
votes
0
answers
1k
views
Does ESP32 support WiFi Direct?
I want to use the wifi-direct feature on ESP32. I want to send data from ESP32 to my Android device using wifi-direct.
However, I couldn't find definite information or existing examples regarding ...
0
votes
0
answers
509
views
Sending data device-to-device, Android or iOS agnostic with React Native
My use case is I want to enable two devices, Android or iOS (between them, or among them), to discover each other and exchange a small amount of data when in close proximity. I'm building the app with ...
1
vote
1
answer
828
views
NetworkManager interfers with wpa_supplicant
I'm trying to build an app in C++ to connect 2 Linux devices via WiFi Direct using WPA_Supplicant. Trying to do that in the wpa_cli (with wlo1 interface), I got to the point where with NetworkManager ...
0
votes
1
answer
90
views
(listAdapter as WiFiPeerListAdapter).notifyDataSetChanged() Causing Crash
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
listAdapter = WiFiPeerListAdapter(requireContext(), R.layout.row_devices, ...
1
vote
1
answer
270
views
How to make the Make method of HString available
I am trying to connect my Surplex VR tracking shoes to my desktop via Wifi but unfortunately Microsoft in their infinite wisdom have depreciated the functionality to setup a simple Wifi hotspot.
The ...
0
votes
0
answers
67
views
Android - when I click on REFRESH button it always goes to onFailure
I'm trying to create a Mancala game. I'm doing a Wifi-Direct, but everytime I'm clicking on REFRESH button, it goes to onFailure method.
The purpose of the refresh button is to discover new devices ...
0
votes
1
answer
296
views
Android Wi-Fi Direct hotspot failure
I'm new to the Android platform and I want to create an app that creates a wi-fi hotspot so my microcontroller (esp32-c3) can connect to it. Further, the app should only contain a webview and be able ...
1
vote
0
answers
276
views
Switching between sender and receiver in Android Wi-Fi Direct app
I am developing an Android app to share files using Wi-Fi Direct. The app works, but I am unable to switch between being a sender and a receiver without closing the app. When I try to switch roles, ...
4
votes
0
answers
180
views
Wifi direct - NetworkInfo deprecated
When one follows the guide for implementing WiFi direct from google doc here you need to use NetworkInfo .
The document is last updated: Last updated 2022-10-14 UTC.
NetworkInfo networkInfo = (...
0
votes
0
answers
401
views
Network.framework for peer to peer connection in background mode
Developed iOS application using Network.framework to share data among iOS devices and its working fine. But there are few scenario where its failing to share data :
IF two devices wanted to share ...
0
votes
0
answers
83
views
Can't establish Tcp StreamSocket connection between WiFiDirectServices
I am running the Wi-Fi Direct services sample on my two Win11 laptops.
Using the default ConfigMethod, the WiFiDirectServiceSession can be created. At the step of creating socket connection, I was ...
0
votes
0
answers
192
views
Is there a way to send connection requests to local devices through an app?
What I'm visualizing:
4 different devices each running the same app while connected to the Internet via their cellular networks. Is there a way I can broadcast connection requests to all these devices,...
0
votes
0
answers
97
views
WiFiDirectDevice::FromIdAsync API returns null for already paired devices
Implemented C++/WinRT Console Application which uses similar implementation of Connector Scenario of WiFiDirect Sample.
Running the same application in both laptops, Pairing and connection is ...
0
votes
0
answers
77
views
I can only send files with wifi direct the first time after connection
I'm trying to exchange files between two devices using android wifi direct. Any of the device can send and receive files. After discovering and connecting the two devices,I can only successfully send ...
0
votes
0
answers
367
views
How to trigger event for incoming BLE connection/pairing request in UWP application?
May be this question is similar to the question asked earlier. I did not get any clue from the answer, so I am expecting some more suggestions/answers and asking a question.
I have implemented a ...
1
vote
1
answer
613
views
Unable to connect device using Wi-Fi Direct in Huawei Android 9 (EMUI 9)
I am creating an app to communicate with printer using Wi-Fi Direct.
The app will list all the printers in Wi-Fi direct range once click on displayed printer it will send invitation to printer to ...
0
votes
1
answer
1k
views
Autoconnect with Microsoft Display Adapter using Windows.Devices.WiFiDirect
First, I have extensively read through Autoconnect to MS Wireless display on Windows 10 and tried basically every solution. (I did technically get the AutoHotKey solution working, and in fact did ...
0
votes
1
answer
78
views
Is QR code scanning necessary when coding a file sharing app that uses wifi direct
I see that android wifi direct file sharing apps use QR scanning before establishing connection. Is this feature mandatory to include when coding your wifi direct file sharing app?
0
votes
0
answers
104
views
Sharing files with nanohttpd in android
i need to develop an android app, a chat app, in which the two devices should be connected via wifi direct and share files via nanohttpd.
can anyone share a guide for this ?
3
votes
1
answer
307
views
Android "Bypassing user approval" for the second programmatically connection to a specific Wi-Fi network is not working
Following the Android documentation, I'm using this code to connect programmatically to a specific SSID:
private void connectToAP(String ssid, String password) {
...
WifiNetworkSpecifier ...
0
votes
0
answers
597
views
Connect to hidden WiFi "network", transmit data and reconnect to original network
I have very little experience with non-embedded programming, so i wanted to do a sanity check before I go down this path.
Basically just need to know whether the titular line of actions are possible ...
0
votes
0
answers
223
views
Android DatagramSocket unable to receive packet over WiFi-Direct
I'm currently building an application with the intent of streaming video from a Linux device to an Android device over WiFi direct. I am currently using a raspberry pi as the Linux device, which will ...
1
vote
0
answers
829
views
Not able to initiate WiFi direct connection to android device from Raspberry Pi
I am trying to connect Android phone and Raspberry Pi board on WiFi direct using wpa_cli.
I have followed https://raspberrypi.stackexchange.com/questions/117238/connect-android-smartphone-with-wi-fi-...