All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.net.wifi.package.html Maven / Gradle / Ivy

Go to download

A library jar that provides APIs for Applications written for the Google Android Platform.

There is a newer version: 14-robolectric-10818077
Show newest version


Provides classes to manage Wi-Fi functionality on the device.

The Wi-Fi APIs provide a means by which applications can communicate with the lower-level wireless stack that provides Wi-Fi network access. Almost all information from the device supplicant is available, including the connected network's link speed, IP address, negotiation state, and more, plus information about other networks that are available. Some other API features include the ability to scan, add, save, terminate and initiate Wi-Fi connections.

Some APIs may require the following user permissions:

  • {@link android.Manifest.permission#ACCESS_WIFI_STATE}
  • {@link android.Manifest.permission#CHANGE_WIFI_STATE}
  • {@link android.Manifest.permission#CHANGE_WIFI_MULTICAST_STATE}

Note: Not all Android-powered devices provide Wi-Fi functionality. If your application uses Wi-Fi, declare so with a {@code } element in the manifest file:

<manifest ...>
    <uses-feature android:name="android.hardware.wifi" />
    ...
</manifest>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy