开发者

Is Zeroconf API available in Android?

Does andro开发者_开发技巧id 2.2 have support for Zeroconf and MDNS related APIs ?


You could use jmdns http://sourceforge.net/projects/jmdns/ I have used it to discover Bonjour/Zeroconf related services with good accuracy with Android 2.2. Depending on your need, you may need to tweak their code a bit in order to get better discovery.

Note that some of older HTC phones have bugs with the multicast, but I think they have fixed it in their recent phones

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜