hi,Mark, i got errors in returning statement? do i need to catch the return value and display the status?
> I have been using: > > ConnectivityManager > connMgr=(ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); > NetworkInfo info=connMgr.getActiveNetworkInfo(); > > return(info!=null && info.isConnected()); > > Are there scenarios where a NetworkInfo other than > getActiveNetworkInfo() might be connected? > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android Development Wiki:http://wiki.andmob.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---