Bluetooth is not a network. WiFi is a network, but will only be "active" if the device has an actual WiFi connection to an access point.
On Thu, Mar 15, 2012 at 8:59 AM, sha m <[email protected]> wrote: > 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 [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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

