Brian wrote:
> How do I check the status of the phones current network connection?

ConnectivityManager is where most of this resides, though it is 
incompletely documented.

Specifically, getActiveNetworkInfo() will give you a NetworkInfo object 
that can tell you what sort of network it is (CDN or WiFi). My 
assumption, as yet untested, is that getActiveNetworkInfo() will return 
null if there is no active network (i.e., no connectivity whatsoever).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to