*public static final String WIFI_STATIC_DNS1* as you see these are the properties in which we can only get the value, we cant set the value.
On Wed, Dec 29, 2010 at 7:47 PM, Kostya Vasilyev <[email protected]> wrote: > Faheem, > > See Settings.System: > > > http://developer.android.com/reference/android/provider/Settings.System.html#WIFI_STATIC_DNS1 > > Starting with: > > public static final String WIFI_STATIC_DNS1 >> Since: API Level 1 >> >> If using static IP, the primary DNS's IP address. >> >> Example: "192.168.1.1" >> Constant Value: "wifi_static_dns1" >> > > and up through > > public static final String WIFI_USE_STATIC_IP >> Since: API Level 1 >> >> Whether to use static IP and other static network attributes. >> >> Set to 1 for true and 0 for false. >> Constant Value: "wifi_use_static_ip" >> > > However, if past is of any indication, any of these can be moved to > Settings.Secure in a future Android release (or not). > > -- Kostya > > 29.12.2010 17:34, Faheem Khatri пишет: > > Hi All, >> >> I wanna set android wifi ip address from my own application is there >> any way? >> >> i've post this question few months back didnt get any proper solution, >> so i m reposting this question. >> >> Regards, >> Faheem >> >> > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget -- > http://kmansoft.wordpress.com > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

