14.03.2011 13:52, monty пишет:
Hi All
I am developing a project which includes downloading video from
server,so obviously i am using Wifi.Now if suddenly the Wifi
connection is lost due to some reason and ater again resumed,how do i
listen for this event.
There are broadcast actions both here:
http://developer.android.com/reference/android/net/ConnectivityManager.html
and here
http://developer.android.com/reference/android/net/wifi/WifiManager.html
I mean is its possible to programmatically
enable a Wifi if its disabled?I have done that for Airplane mode but
not finding for Wifi.
WifiManager.setWifiEnabled(true)
--
Kostya Vasilyev -- 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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en