Hi,
I am trying to do some validation in order to get the ipaddress only
if the wifi is connected and ip is available,
But strangely i am getting the cached ipAddress.
I tried the following but was not much helpful.
System.setProperty("networkaddress.cache.ttl", "0");
System.setProperty("networkaddress.cache.negative.ttl",
"0");
and
Security.setProperty("networkaddress.cache.ttl", "0");
Security.setProperty("networkaddress.cache.negative.ttl",
"0");
Regards,
Sandeep
--
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