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 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.

The Zeroconf working group is working towards zero-configuration IP networking. Multi-cast DNS and DNS service discovery provide a convenient way for devices and services to register themselves, and to discover other network-based services without relying on centrally administered services.

Java as a language is not appropriate for low-level network configuration, but it is very useful for service registration and discovery. JmDNS provides an easy-to-use pure-Java mDNS implementation that runs on most JDK1.6 compatible VMs.

122 questions
6
votes
1 answer

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 VNC, SSH & Apache and I've been trying to get…
Ali
  • 12,354
  • 9
  • 54
  • 83
6
votes
1 answer

How to access raspberry.local in my android application?

I am running Django on my raspberry-pi, and I am using avahi-daemon to access my rpi on raspberrypi.local . On my Django I have made APIs for my android application to access via HTTP protocol. For example one of my http request url is: …
Aishwary Dhare
  • 509
  • 1
  • 6
  • 18
6
votes
1 answer

Reregistering a service JMDNS

I have what I thought would be quite a simple problem. I'm trying to use JmDNS to broadcast a service which I've managed to do successfully, however when the app is paused, I want to unregister a service and then on resuming the app, reregister the…
Bushes
  • 1,010
  • 1
  • 18
  • 37
6
votes
2 answers

Finding devices on network with Bonjour / Zeroconf / jmDNS on PlayBook / Blackberry

I would like to develop an Android app which would run on Blackberry PlayBook. App would need to find other devices on the local network running the same app. I was thinking to implement Bonjour / Zeroconf / jmDNS protocol for finding devices but…
Matej Ukmar
  • 2,157
  • 22
  • 27
5
votes
0 answers

Can avahi daemon be used to publish and discover service in BNEP(BT-PAN) network Interface

Can avahi daemon be used to publish and discover service in BNEP network Interface ? If two devices are tethered in Bluetooth then both devices will have IP, so we can do TCP-IP communication between them. Actually I want to do mDNS Service…
Saby
  • 718
  • 9
  • 29
5
votes
1 answer

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 Discovery. When I run the android app first, and…
Presen
  • 1,809
  • 4
  • 31
  • 46
5
votes
1 answer

jmdns registers on IPv4 interface, but broadcasts IPv6

So I am trying to use jmdns on Android 3.2.1 (HTC Flyer) and I am using jmdns for service discovery. Everything works nicely except that one of my three devices (rest of them work fine) is broadcasting IPv6 address instead of IPv4. This is very…
siemanko
  • 1,389
  • 1
  • 13
  • 26
4
votes
1 answer

Resolve mDNS .local URL in browser address bar

I am trying to run a HTTP server in my LAN and want to access it by using a browser on another desktop machine. As I do not like typing the IP address and port manually I tried setting up a mDNS using jmDNS. String type =…
Lucas Hoepner
  • 1,437
  • 1
  • 16
  • 21
4
votes
1 answer

JmDNS device removal detection

I am trying to use JmDNS to detect addition and removal of devices on the network. The addition works fine, the devices are found as soon as their respective services are registered with JmDNS, but, when a device is removed from the network, it is…
Stanislav
  • 110
  • 10
4
votes
2 answers

JmDNS doesn't work properly on android 4.1

JmDNS I am implementing JmDNS as follows here. When running the code on my android 2.3.5 htc Evo I am able to discover my linux computer. However, when i run the same code on my samsung galaxy s3 (4.1.0) nothing shows up. What is strange is that…
skukx
  • 617
  • 5
  • 15
3
votes
3 answers

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... setUp(); try { peer = new…
Aidanc
  • 6,921
  • 1
  • 26
  • 30
3
votes
1 answer

Not able to find JmDNS service in other machines

Using jmdns 3.4.1, I'm able to see the services advertised by the machines in the LAN, I can also create a service and register it, so that I can see it in my machine. However, when I create a new service in another machine of the LAN, I cannot see…
mimou
  • 81
  • 1
  • 6
3
votes
2 answers

jmdns.jar not working on android 4.0 or later

jMdns is a great java library to provide zeroconf/bonjour capabilities to your Android application. I successfully using this in a project up until Android 4.0 Ice Cream Sandwich aka ICS, once Android 4.0 devices were starting to be used more often…
javid piprani
  • 1,965
  • 1
  • 12
  • 10
3
votes
4 answers

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-androidjmdns.html. but when running the DEMO application, a…
MOHAMED
  • 41,599
  • 58
  • 163
  • 268
2
votes
1 answer

How to find Bonjour in local wifi in Android

I have a problem that I want to get an Ip of remote computer via Bonjour which is preinstalled . But I unable to connect with that, I don't know why because I have download an example code from Git Hub and also download the jmdns3.4.1 Jar. But the…
Sanat Pandey
  • 4,081
  • 17
  • 75
  • 132
1
2
3
8 9