Top "Android-wifi" questions

This tag is related to Wifi related questions on Android mobile devices

How to find wifi and network data usage separately by particular application in android?

recived = TrafficStats.getUidRxBytes(uid); send = TrafficStats.getUidTxBytes(uid); TrafficStats.getMobileRxBytes(); TrafficStats.getMobileTxBytes(); TrafficStats.getTotalRxBytes(); TrafficStats.getTotalTxBytes(); i have application id …

android android-wifi android-networking
How to connect to wifi with a specific bssid android?

I am creating an Android app which allows to connect you to a WiFi with a specific BSSID. I have …

android connection android-wifi wifi bssid
How to enable Android O WiFi Hotspot programmatically

We've been using the WifiManager hidden API to enable Wifi tethering and create an access point. The problem now with …

android android-wifi android-networking hotspot
Setting Priority for wifi configuration in android

I have to set a priority for wifi configuration sothat I have to always connect to specified wifi network so …

android android-wifi wifimanager wifi
Android Lollipop - WiFi Hotspot setWifiApEnabled() get InvocationTargetException

I'm using in the app setWifiApEnabled() from Hidden API (access by reflection). In some older phone it´s working (also …

android android-5.0-lollipop android-wifi wifimanager
android how to check wifi is connected but no internet connection

android my device connected with wifi but how to if wifi is connected but these is no internet connection following …

android android-wifi
Android Wear Enable ADB Connection Over WiFi TCP/IP

I'm trying to develop an app for Android Wear. In order to test my app on my Moto 360 watch (which …

android adb wear-os android-wifi
Internet check over android.net.NetworkCapabilities not working

I have a question about android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET. According to the JavaDocs this "indicates that this network …

android networking wifi android-wifi
Is there a way to explicitly control WiFi scan intervals in Android?

I am doing my Master thesis at the moment on WiFi positioning and in order to test my algorithms I …

android android-wifi rssi
Android: How to detect if a device is WiFi or WiFi+Cellular

Is there a way to check if the user is using a device (this applies primarily to tablets) with Cellular …

android networking network-programming android-wifi cellular-network