[android-developers] How to set static ip for wifi configuration

2011-03-22 Thread saikiran n
Hi I have android device and i want to add one wifi configuration with static ip. I have done this with the following code. WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); WifiConfiguration wc = new WifiConfiguration(); wc.SSID = \MyWifi\; wc.hiddenSSID =

Re: [android-developers] How to set static ip for wifi configuration

2011-03-22 Thread Kostya Vasilyev
See this: http://developer.android.com/reference/android/provider/Settings.System.html#WIFI_STATIC_DNS1 Go ahead and use them before they are moved under Settings.Secure :) -- Kostya 22.03.2011 12:17, saikiran n ?: Hi I have android device and i want to add one wifi configuration with