Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Zeroconf API available in Android?

Tags:

android

Does android 2.2 have support for Zeroconf and MDNS related APIs ?

like image 556
spr Avatar asked Nov 14 '22 08:11

spr


1 Answers

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

like image 179
momo Avatar answered Jan 11 '23 22:01

momo