2,022 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
0
replies
44
views
How do devices like Android Auto / Insta360 use Wi-Fi without blocking cellular Internet and without showing "Connected without Internet"?
I’m trying to understand how some Android accessories (e.g. Android Auto head units, Insta360 cameras, dashcams, etc.) are able to:
connect to the phone over Wi-Fi
keep cellular (LTE/5G) as the ...
0
votes
0
answers
184
views
Can I configure my android device to act as a FTM (Wifi RTT) responder?
I'm developing an application that uses Wifi RTT/ FTM (initiator). Unfortunately, i don't have a WIFI RTT compatible AP/ router. So, I want to convert my other device to act as a responder.
Earlier, ...
0
votes
0
answers
53
views
why the name of the app in the system pop-up window is displayed as null
I want to implement a system that monitors whether the user turns on the WLAN scanning switch. If it doesn't, it will call the system's function to turn it on
Intent wifiAlwaysAvailableIntent = new ...
0
votes
1
answer
57
views
What's the max size limit on android.net.wifi.aware.DiscoverySession.sendMessage?
Unknown size limit of API: android.net.wifi.aware.DiscoverySession.sendMessage causes System.err
Link to documentation: https://developer.android.com/reference/android/net/wifi/aware/DiscoverySession#...
0
votes
1
answer
116
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 ...
1
vote
1
answer
54
views
getParcelableExtra("wifiInfo", WifiInfo::class.java) returning null on Android 13
I'm encountering an issue with retrieving a WifiInfo object from an Intent on Android 13. I have an onReceive() function that is invoked by android.net.wifi.STATE_CHANGE.
The following code returns ...
0
votes
1
answer
8k
views
Android device: How to connect wifi by "Adb shell cmd wifi" command?
Android device: How to connect wifi by "Adb shell cmd wifi" command?
I tried to connect wifi by adb to avoid tedious click and verification operations by appium. And i found that the "...
5
votes
0
answers
625
views
Android 10: How to detect if the user accepted/rejected the permission CHANGE_WIFI_STATE from the Android system notification?
I'm using addNetworkSuggestions on Android 10 to auto connect to an existing Wifi access point using this doc reference.
I'm using the following code :
val wifiManager = context.getSystemService(...
0
votes
1
answer
500
views
Why ESP32 with static IP address can't connect to internet but can ping normally?
I have connected ESP32 to WIFI, but this WIFI must fix IP address, Gateway, Subnet mask, DNS and MAC. So, I assign them and test with two codes. The first one is with a ping library and the 2nd one is ...
0
votes
0
answers
70
views
android studio wifi debugging
When I am trying to pair my realme 9 4g using wifi debugging i am not able do it.
When click on the pair with qr code. the camera is not recognizing the QR code and also when using pairing code, my ...
user avatar
user20530242
0
votes
1
answer
726
views
How to get current WiFi signal strength in Xamarin.Forms running on Android?
Is there an up-to-date way to get the current WiFi signal strength in Xamarin.Forms for an Android device?
The code snippet following adapted from article 58191523 says that:
The name '...
0
votes
0
answers
76
views
How to get SSID for Android 12 API level 31 [duplicate]
I am developing app in Xamarin Forms using Visual Studio 2022 for Mac.
For Android 12 API level 31, I am getting SSID as <unknown ssid>
I have added below location permissions in manifest file:
&...
0
votes
1
answer
613
views
Android ConnectivityManager.requestNetwork() timed out when connecting to a hidden network
I'm trying to connect a hide SSID which is SAE over ConnectivityManager. But the result is over time. The application can't connect to SSID.
I'm trying to change the SSID to not hide. It works well.
...
0
votes
0
answers
72
views
App.xaml.cs will run again unexpectedly in Debug mode
I am using the APP to connect to a device in Xamarin debug mode.
When the system is trying to connect to the device(like the screenshot shows "Connecting to device..."), if I press the back ...
2
votes
1
answer
3k
views
Does any working sample code exist for WiFi-Direct on Android?
The documentation for Wifi Direct on the android developer site includes scraps of code taken from a now defunct sample application (Android Studio baulks at the project structure) that I managed to ...