How can I discover zeroconf (Bonjour) services on Android? I'm having trouble with jmDNS

后端 未结 5 765
臣服心动
臣服心动 2020-11-30 18:42

I\'m working with a Droid / Android 2.0.1 and encountering an issue apparently many people have: I\'m unable to discover services using the one pure-Java zeroconf library I

5条回答
  •  无人及你
    2020-11-30 18:52

    If you haven't seen it already, I suggest checking out this project on github (disclaimer - I'm not the author): https://github.com/twitwi/AndroidDnssdDemo

    It is a sample project that pretty much shows how to get everything up and running. It also includes a custom jmdns.jar that solves some issues I was having with the out-of-the-box jmdns.jar having a duplicate class file.

提交回复
热议问题