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.

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
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
3 votes
3 answers
4k views

Android Exception: 'java.lang.NoClassDefFoundError: javax.jmdns.JmDNS'

Hopefully my issue isn't too silly but I'm having the following problem... I'm importing a jar which contains the library JmDNS into my project. My project sets up to handle JmDNS like this... ...
Aidanc's user avatar
  • 7,001
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
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
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
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
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
3 votes
4 answers
7k views

apple bonjour for android

I m looking for an apple bonjour for android. Are there a recommanded jar for this? I googled for an apple bonjour application and I found the Jmdns application http://home.heeere.com/tech-...
MOHAMED's user avatar
  • 43k
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
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
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
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
6 votes
1 answer
17k views

Samples with JmDNS

I've been able to get the samples that come with JmDNS to compile and run, however I can't get any of the classes to discover my services. I'm running a Windows environment with multiple PC's running ...
Ali's user avatar
  • 12.5k
5 votes
1 answer
2k views

communication between Java server and Android client using Network Service Discovery

I'm building a Java server application (running on a pc) that register itself to the local network using JmDNS, and an Android client App that should discover the java server using Network Service ...
Presen's user avatar
  • 1,849

15 30 50 per page