Hello,

How do I check whether or not the radio is on and an internet
connection can be established? My application requires connection to
my server and I need to make sure that G/3G radio is available before
I can make a connection.

I'm looking at ServiceState: 
http://code.google.com/android/reference/android/telephony/ServiceState.html

But I don't know how this should be used. If the State == IN_SERVICE,
does that mean I have G/3G?

http://code.google.com/android/reference/android/telephony/ServiceState.State.html

If anybody has any experience with this I would greatly appreciate it.

Thanks,

Kev
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to