On Wed, Mar 30, 2011 at 9:57 PM, wawawacool <[email protected]> wrote: > I want to develop an android phone application which is more apt to > wifi than 2G/3G network. So I want to determine whether the phone > have wifi device when the application want to use network. But I can't > find any dierct API in the android sdk document about wifi can > fulfill this demand. > > So I want to ask > 1. whether android have this API?
See ConnnectivityManager. > 2. If there is'nt this API, can we get this information using indirect > method, such as function's return value, or exception? See ConnectivityManager. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9.2 Available! -- 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

