Check the ConnectivityManager API. http://tech-droid.blogspot.com/2010/06/checking-network-availability.html
Thanks and Regards, Kumar Bibek http://tech-droid.blogspot.com On Jun 15, 11:23 am, Imran ahmed <imran4...@gmail.com> wrote: > Android developers can check this code to check the network status on > wifi and 3g mobile > > You need the following permission to get status view source print? > 1 <uses-permission android:name="android.permission.INTERNET"></uses- > permission> > 2 <uses-permission > android:name="android.permission.ACCESS_NETWORK_STATE"></uses- > permission> > > Regards, > Imranwww.androidpeople.com > Android Community Blog -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en