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

Samuel Stirtzel s.stirtzel at googlemail.com
Wed Jan 6 18:09:46 CET 2016


2016-01-06 16:12 GMT+01:00  <drwho at infidigm.net>:
>>> 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.
>

It works nice on linux and android and it's easy to use, kudos for
your great work.


-- 
Regards
Samuel



More information about the Development mailing list