Bonjour implementation on Android

后端 未结 5 1193
深忆病人
深忆病人 2020-12-23 10:22

I am trying to implement bonjour/zero conf on my android app. I am using jmDns library for searching the all the available devices. Here is the code that I am using for sear

5条回答
  •  悲&欢浪女
    2020-12-23 10:42

    You may use an existing tool from Android's Play Store to scan the local network first, like "bonjour browser" to make sure there are the services you want to scan. Then you can check the jmDNS keyword to scan the network.

    But there is a known issue that jmDns does not work on some Android 4.x devices.

提交回复
热议问题