Bonjour service discovery not complete with Android's APIs. Am I missing something, or should I just use JmDNS? -
i have bonjour service running on macbook pro on local network trying detect in client app on android device (galaxy nexus).
i have implemented bonjour service discovery 2 ways. first via android's nsd package, detailed here. have implemented code suggest in section "discover services on network". discovers service fine, there no api call access txt records service, need access can build url hit service, making method kind of deal-breaker until can access that.
that prompted me try other method of bonjour service discovery detailed here in "discover nearby services" section, since have api txt record discovery. know service discovery starts, because it's not logging errors, method not discover bonjour services me, not ones apple has on macbooks default. it's implemented on website, need make work? macbook need run in addition bonjour service recognized wifi-direct device? or not possible using android's api set up, , should looking libraries jmdns need until android's api more complete/documented?
there seems little documentation, aside android provides (which isn't super thorough), these new nsd apis, if else has dived , can give more guidance, appreciated!
this dependent on service implementation macbook pro offers.
"i have bonjour service running on macbook pro on local network" - if using nsd wi-fi direct believe not try services running in local network rather services running in nearby devices via wi-fi direct , no connection.
"however, using wi-fi direct service discovery allows discover services of nearby devices directly, without being connected network".
i think means separate implementation might required macbook pro wi-fi direct communication, can respond discovery requests not in local network. sorry cannot more @ moment.
Comments
Post a Comment