Top "Android-wifi" questions

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

Getting the MAC address of the device- when wifi is off

I am finding the MAC address of the Android Device using the following code: WifiManager manager = (WifiManager) getSystemService(Context.WIFI_…

android android-wifi mac-address wifimanager
Android: Programmatically Turn on WiFi hotspot

I am trying to turn on the portable Wifi hotspot ON, by referring this link: how to set advanced settings …

java android android-wifi tethering
Get Android WiFi "net.hostname" from code

When an Android device connects to a wifi AP, it identifies itself with a name like: android_cc1dec12345e6054 …

android android-wifi
Android WifiManager.addNetwork() returns -1

I am writing an android app which will connect to a specific WPA access point, when connected, it will issue …

android android-wifi wifimanager wifi
How to use adb tcpip without USB debugging enabled?

I've read quite a few posts already on adb and tcpip mode and I can create a wireless adb connection, …

android adb android-wifi android-open-accessory
How to Stream Media(Audio/Video) Across Multiple Android device over Wifi or Wifi Hotspot?

I am currently working on a project when you play song. it's play in your another device which is automatically …

android audio-streaming android-wifi personal-hotspot
Create Wifi Hotspot Configuration in android

I am using android 4.1.1 ... I am making an application that allows the user to make his own network using Wifi …

android wifi android-wifi tethering
android 6.0.1 force wifi connection with no internet access

this has many similar questions (google for: "no internet access detected. won't automatically reconnect." or: android force wifi connection programmatically). …

android network-programming android-wifi android-6.0-marshmallow
How to keep CPU from 'sleeping' when screen is turned off in Android?

I have an application in which I am sending network data over WiFI. Everything is fine until I turn the …

android android-wifi cpu-speed throttling sleep-mode
How to get WIFI SSID in Android 9.0(PIE)?

How to get WIFI SSID in Android 9.0(PIE)? My code is working fine till android version 8.1.0 but it is not …

android android-wifi android-9.0-pie android-connectivitymanager networkinfo