Hey,
I am trying to receive a UDP Broadcast 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