Search code examples
androidandroid-wifi

can we select specific wifi using hardcoded password for android devices


I need to connect to a specific Wifi selected from the list and I want to hard code the password in my app.
Is it possible in android devices that an app can connect to a specific Wifi network and provide the password?
Is there an API for this?


Solution

  • You should check out the docs from Google: http://developer.android.com/reference/android/net/wifi/package-summary.html