-The emulator doesn't emulator wifi, you'll have to use a real device for that.
-In the current version of Android, you'll find that the wifi support is mostly suitable for infrastructure-based connections (i.e. communicating through an access point), not for ad-hoc connections. You can just blindly establish network connections, and they'll be routed over wifi if that's available, or you can use the ConnectivityManager http://code.google.com/android/reference/android/net/ConnectivityManager.html if you want some finer-grained controls over when wifi is available. JBQ On Sat, Dec 6, 2008 at 4:15 PM, Doughy <[EMAIL PROTECTED]> wrote: > > Does anyone know where I can get some tutorials on developing wifi > applications for android? I have some great ideas, but I am > struggling to find some good introductions to using the wifi > capabilities in Android. Furthermore, is it possible to debug wifi > applications in the emulator. My emulator is crashing every time I > try to run something simple. For example, the application crashes > when I use: > > TextView rssLabel = (TextView)findViewById(R.id.rssLabel); > WifiManager wm = (WifiManager)getSystemService(Context.WIFI_SERVICE); > WifiInfo wfinfo = wm.getConnectionInfo(); > > Thanks for your help. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

