Questions tagged [jmdns]
JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour.
jmdns
122
questions
30
votes
5
answers
39k
views
Bonjour implementation on Android
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 searching the devices in the ...
26
votes
1
answer
14k
views
Is Android NSD (Network Service Discovery) compatible with Bonjour service in iOS?
I will create a server-less local networking App for iOS and Android. the App in both iOS and Android devices should find out and talk to each other.
I know that there are platform built-in services (...
20
votes
1
answer
23k
views
How exactly does mDNS resolve addresses?
Once a service is discovered through DNS-SD, how exactly does the address of that host get resolved, and does it take significantly more time/overhead?
Also, if I am using JmDNS or Bonjour there are ...
19
votes
2
answers
9k
views
Android - jmdns doesn't discover devices
I'm trying to implement a class to discover services on the network.
I've tried working with Android's NSD and it does discover the services fine, but it supports only API levels 16 and up, and I can'...
17
votes
3
answers
18k
views
Multicast on Android 2.2
Has anyone gotten Multicast to work on Android 2.2, specifically JmDNS for Bonjour service detection. There are many questions & answers from the Android 1.5->2.0 timeframe, including on ...
12
votes
1
answer
5k
views
Implementing android as a server (receiver) in airplay
I want to create the airplay in android in which my android device will work as a airplay server(receiver)and iPhone device will work as a receiver . I have used jmdns in my application which is open ...
11
votes
1
answer
12k
views
JmDNS service discovery in client-server
I'm trying to enable service discovery in my client-server application using JmDNS. I fully understand service registry on the server side, with code that resembles this:
JmDNS jmdns = JmDNS.create(...
9
votes
2
answers
7k
views
JmDNS: Can't resolve service
I'm trying to implement JmDNS discovery for communication between an Android app and a desktop application. I have followed the following tutorial:
http://home.heeere.com/tech-androidjmdns.html
The ...
9
votes
2
answers
6k
views
Network Device Discovery
For my Android app, users need to connect to a server that will be hosted somewhere on the same LAN. There can be multiple servers hosted on the same LAN. To make it easy for the user, I was going ...
8
votes
2
answers
3k
views
Android build with jmDNS fails
PREAMBLE: since SDK level 16, Android has a built-in Zeroconf implementation. Unless bronze age compatibility is a concern, don't use jmDNS anymore, use NsdManager instead.
PREAMBLE #2: early ...
8
votes
2
answers
18k
views
android resolve .local (mDNS)
I'm looking for a solution to resolve .local host names with Android 4.0.4 (no NSD, due to API level 15). On the device I don't have any service to discover, just the hostname.
Could you please ...
8
votes
2
answers
2k
views
How to resolve a Bonjour domain name with JmDNS
As part of an app I'm developing, I need to be able to resolve the correct IP that corresponds with a Bonjour hostname.
For example, I'm given jack.local and need to resolve it to 192.168.1.141 which ...
7
votes
2
answers
2k
views
Xamarin.Android JmDNS binding issues
I started work on a JmDNS bindings for Xamarin.Android. I managed to get the binding to build but I can not reference it from within my code. https://github.com/ytn3rd/monodroid-bindings/tree/master/...
7
votes
2
answers
3k
views
Performing long running operation in onDestroy
I have a "long-running" cleanup operation that I need to perform in onDestroy() of my Activity. What is the best way to do this?
If I use a Thread to do this, my onDestroy() will return immediately; ...
7
votes
0
answers
532
views
Make Spring Boot application discoverable with zeroconf
How can I make a Java web app application built with Spring Boot discoverable with zeroconf?
I tried the following with JmDNS but it does not seem to work:
@Bean
public JmDNS jmdns() {
try {
...