[Development] Android Qt service discovery (was: Requesting New Repository - QtZeroConf)

drwho at infidigm.net drwho at infidigm.net
Wed Jan 6 16:12:19 CET 2016


>> Project name: QtZeroConf
>>
>> Project description:
>> QtZeroConf is a wrapper class for various mDNS discovery libraries
>> across
>> multiple platforms:
>>
>> Linux -> Avahi-client
>> Android -> Avahi-core or Android Network Discovery Service
>
> Hi,
>
> is there any sample code available for the avahi-core based service
> discovery?
>
> Recently I have compiled avahi with the Qt5 and Android patches via
> android-ndk,
> but some code is necessary to use avahi-core in Qt applications [1].
> So before I start reinventing the wheel, I'd rather ask here if any
> code is already available.

https://github.com/jbagg/QtZeroConf

serviceAdded(QZeroConfService *) is emitted when the service IP address is
resolved.

There is also an example app that works on Android in the source.

Jon




More information about the Development mailing list