I have a sample in Github (https://github.com/alirezaeiii/Movies) where I have a utility class in order to check internet network connection : In a ...
I have a sample in Github (https://github.com/alirezaeiii/Movies) where I have a utility class in order to check internet network connection : In a ...
I created a function that returns a boolean based on the presence of an internet connection, this function it is called different times from different ...
I want to get client device MAC address which is connected with mobile hotspot.I want to get this list in host device which containt hotspot. I alread ...
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 tryin ...
I am trying to get Try Again system popup click event using NetworkCallback, Actually, I have WIFI hotspot & password and I am trying to connect t ...
The moment I get on a wifi connection, the cellular network is completely lost even though the cellular network indicator is definitely on. This is m ...
I'm trying to get my app to connect to a WiFi AP to provide Internet with WifiNetworkSpecifier using code like this. But it's always calling onUnavail ...
I have a code that checks if the device is connected, but it only works if I start the app from scratch What I want is that the view changes visibili ...
I have been using the following code (acquired from the web) to check for Internet connection in my Android (web) app. Android studio is now giving ...
I am making a sample app, only to see, how to monitor the network connectivity on Android. For that I follow this document: https://developer.android ...
In my code, I need to track the internet connection and make appropriate changes. First of all, I create a network request, then register a network ca ...
I need to get mobile network setting state in WearOS: "Always on" or "Auto" or "Always off". Exactly need to differentiate these states in code mayb ...
I have been working on this for a few days after following this guide online. I am using target API 30 (building on a device using Android 11). Trying ...
I'm working on android 9 and I want to give preference to WiFi over Ethernet. I tried giving wifi higher priority than ethernet in my config.xml file ...
I am working on android app where I need to check for internet connection if available I hit the api inside onStart method else No-Internet popup open ...
I have registered ConnectivityManager NetworkCallback as follows: When I turn hotspot on/off in my Android 11 device, none of the CallBack function ...
} when I am checking for network capabilities without any VPN, it is working fine but if I connect to a VPN and then check for capabilities then it ...
Using this code taken from: https://developer.android.com/training/basics/network-ops/reading-network-state I register a DefaultNetworkCallback: Ho ...
I am using this methods for check network connection but some users getting "no internet connection" error even they have connected to internet. Users ...
I am getting SecurityException followed by RemoteException while trying to access below code. API val networkCapabilities = connectivityManager.ge ...