Skip to main content
The 2024 Developer Survey results are live! See the results

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.

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 ...
mudit's user avatar
  • 25.5k
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 (...
Henry Leu's user avatar
  • 2,244
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 ...
ndc5057's user avatar
  • 860
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'...
orenk86's user avatar
  • 719
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 ...
Brent Chartrand's user avatar
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 ...
V-Xtreme's user avatar
  • 7,318
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(...
Richard Stokes's user avatar
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 ...
Algorithm and Blues's user avatar
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 ...
telkins's user avatar
  • 10.5k
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 ...
Seva Alekseyev's user avatar
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 ...
MartoniczD's user avatar
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 ...
Jake's user avatar
  • 283
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/...
Brad Moore's user avatar
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; ...
curioustechizen's user avatar
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 { ...
yglodt's user avatar
  • 14.4k

15 30 50 per page
1
2 3 4 5
9