Thursday, March 15, 2012

[android-developers] Connectivity Manager does not return Active network information

Hi,
I'm trying to find the current active network with the help of ConnectivityManager.
ConnectivityManager.getActiveNetworkInfo() always returns null in android 2.1 device, eventhough i have enabled wifi,bluetooth.
Could someone advice me on this.

Regards,
Sha

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment