Top "Wifimanager" questions

WifiManager is the primary Android API for managing all aspects of Wi-Fi connectivity.

How do I connect to a specific Wi-Fi network in Android programmatically?

I want to design an app which shows a list of Wi-Fi networks available and connect to whichever network is …

android android-wifi wifimanager
How do I see if Wi-Fi is connected on Android?

I don't want my user to even try downloading something unless they have Wi-Fi connected. However, I can only seem …

android android-wifi wifimanager
How to get available wifi networks and display them in a list in android

Friends, I want to find all available WiFi networks and display them in a list I have tried as below. …

android android-listview android-wifi wifimanager
Android get IP-Address of a hotspot providing device

I'm currently using public static String getLocalIPAddress(WifiManager wm){ return Formatter.formatIpAddress(wm.getConnectionInfo().getIpAddress()); } to get the IP-Address of …

android networking ip android-wifi wifimanager
How to get each device's IP address in Wi-Fi Direct scenario?

Starting from ICS, Wi-Fi Direct is introduced. Normally, we use the WifiP2pManager class to operate on Wi-Fi Direct, but …

android wifi android-wifi wifimanager wifi-direct
Android 6 : Connect to specific wifi network programmatically not working

I am trying to connect to a wifi network by giving the SSID and pass using WifiManager configurations. Based on …

android wifi android-6.0-marshmallow wifimanager
android.net.wifi.STATE_CHANGE: not triggered on Wifi disconnect

Is it normal to only have a broadcast intent with action NETWORK_STATE_CHANGED_ACTION (whose constant value is android.…

android wifi wifimanager
How can I set ProxySettings and ProxyProperties on Android Wi-Fi connection using Java?

How can I set ProxySettings and ProxyProperties on an Android Wi-Fi connection using Java (programatically)? As ipAssignment, linkProperties, ProxySettings and …

android wifimanager
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 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