Thanks, Kostya. Your code got me looking in the right direction. I went back to an earlier release that had been working and found two things, both of which I had to change to get it to work:
1) In my startup code I changed "while(!wifi.isWifiEnabled()) wifi.setWifiEnabled(true);" to what I had in an earlier version, which was "while(!wifi.setWifiEnabled(true));" Both of these are meant to turn on wifi if it is not on. The first does not work in the emulator, but does work on real devices. The second does not work on the Samsung Epic, but does work on a Galaxy Tab and the HTC devices I test with. 2) I had added a connectivity check (using ConnectivityManager) in the newer version of the software that I had to remove for the emulator. Once I made those changes it works fine in the emulator. I like your idea of just having a boolean value that I can change when I am using the emulator. Of course, I just have to remember to test the release version to be sure I change the value before putting the app in the Market :-) Thanks!! -- 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

