You can use ConnectivityManager and check the returned networkinfo
object.

http://developer.android.com/reference/android/net/NetworkInfo.html

On Nov 15, 4:32 am, Marton Kodok <[email protected]> wrote:
> Hello,
>
> I want to detect if there is a connection to Internet before launching a
> webview.
> How can I detect it?
>
> --
> Márton

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to