-
```
What steps will reproduce the problem?
1. Try to get connection type (mobile or wifi) on glass.
ConnectivityManager cm = (ConnectivityManager)
getSystemService(CONNECTIVITY_SERVICE);
NetworkInfo …
-
```
What steps will reproduce the problem?
1. Try to get connection type (mobile or wifi) on glass.
ConnectivityManager cm = (ConnectivityManager)
getSystemService(CONNECTIVITY_SERVICE);
NetworkInfo …
-
官网WiFi连接的方式并不能适应所有的系统版本,下面是利用NetworkRequest的方法。
```kotlin
private fun android10andMoreVersionsWithoutOuterInternet(
wifiSSID: String,
wifiPassword: String
) {
// Andr…
-
**Describe the bug**
I'm seeing rare crashes in Crashlytics with callstack:
```
java.lang.RuntimeException: android.os.DeadSystemException
at android.net.ConnectivityManager.getActiveNetworkInfo(…
-
# Question / Problem
Any suggestions on handling permission for `android.permission.ACCESS_NETWORK_STATE`?
### Summary
I ran into an issue when running the app on Android 13 device where …
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Is there a StackOverflow question about this issue?
- [X] I have searched StackOverflow
### What happened?
W…
-
```
What steps will reproduce the problem?
1. Try to get connection type (mobile or wifi) on glass.
ConnectivityManager cm = (ConnectivityManager)
getSystemService(CONNECTIVITY_SERVICE);
NetworkInfo …
-
```
What steps will reproduce the problem?
1. Try to get connection type (mobile or wifi) on glass.
ConnectivityManager cm = (ConnectivityManager)
getSystemService(CONNECTIVITY_SERVICE);
NetworkInfo …
-
Dear @markusfisch!
This is the last issue we wanted to report as part of our research. In this case, we present the code locations that are related to a missing validation of network connection wit…
-
#### RT
```java
if (!isConnectedToLocalNetwork()) {
Log.w(TAG, "run: There is no local network, bailing out");
stopSelf();
sendBroadcast(new Intent(ACTION_F…