Hi . We are also having the same problem. Our application worked flawlessly with 1.5, 1.6 and 2.0, but doesn't receive UDP broadcasts any more with HTC HERO 2.1 and HTC EVO 2.1.
Curiously it worked with Nexus One 2.1 and works with 2.2. We also found this issue: http://code.google.com/p/android/issues/detail?id=8407 Best regards. On Jul 14, 7:37 pm, Frank Neuhaus <[email protected]> wrote: > Hey, > > I am trying to receive aUDPBroadcast sent by another app on my > network. I am testing on a HTC Desire Firmware: 2.1-update1. As usual > I am using a MulticastSocket and before listening, I acquire a > multicast lock using: > > WifiManager wifi = > (WifiManager)getSystemService(Context.WIFI_SERVICE); > lock = wifi.createMulticastLock("mylock"); > lock.setReferenceCounted(true); > lock.acquire(); > > My app permissions include both INTERNET and > CHANGE_WIFI_MULTICAST_STATE > > The problem is that my program doesn't receive the broadcast. If I > send the packet directly to my phone's ip-adress, it works without > changing any code. > > Does anyone have any idea whats wrong? Is this a bug? Is it specific > to my phone? Is there anything I can do to make this work? :/ > > Thanks a lot > Frank -- 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

