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.

1 vote
1 answer
835 views

Acquiring WifiManager.MulticastLock on Android devices - reliable and consistent?

I am thinking of developing an Android app that would, as part of it's function, send-to and receive-from broadcast messages from all devices that are currently connected to a WiFi network. While a ...
VJ Vélan Solutions's user avatar
0 votes
0 answers
274 views

JmDNS listener didn't work

I already search some web, but I didn't find correct answer. JmDNS listener didn't work. why? protected void onStart() { super.onStart(); try { Log.v(TAG, ...
Steve Austin's user avatar
0 votes
0 answers
178 views

How can I use service listener

i'm android developer in korea. I have some problem so I enter this site. I already search in web site, but I didn't solve a problem. protected void onStart{ if(android.os.Build.VERSION....
Steve Austin's user avatar
0 votes
1 answer
557 views

JmDNS : Discover the same service on Multiple devices

I am trying to use JmDNS to discover the services. I am able to discover the service using the Sample Code given at the When I add a service listener and invoke the addServiceListener, it properly ...
Gurubaran's user avatar
  • 748
2 votes
2 answers
2k views

How To Make JmDNS Work On A Large Network

I'm working on adding discovery to our app using (http://jmdns.sourceforge.net/). It's actually working correctly on my small home network. But it fails on the large network at the office. I seem to ...
Brad Rhoads's user avatar
  • 1,838
1 vote
0 answers
636 views

JmDNS UDP discovery in android

I am working on an network discovery demo where I want to discovery machines which are running udp service. (Connected to a single wifi). I am using following code public class DnssdDiscovery extends ...
Sandip Jadhav's user avatar
6 votes
1 answer
1k views

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 ...
Bushes's user avatar
  • 1,010
1 vote
1 answer
224 views

Android - Jmdns getPort()

After some initial problems, I managed to get Jmdns up and running, which is discovering my Raspberry Pi connected to my network quite nicely. I'm using the example from this page. However, I'm not ...
user2212720's user avatar
1 vote
0 answers
420 views

How to implement bonjour on Android with JmDNS

I want to use JmDNS lib to implement bonjour on Android: Below s my code: private String type1 = "_adisk._tcp."; private String type2 = "_workstation._tcp.local."; private String type3 =...
brian's user avatar
  • 6,842
3 votes
2 answers
813 views

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 ...
javid piprani's user avatar
2 votes
1 answer
1k views

Android hostname not recognised when creating TCP socket

Hi all I have been struggling with this for a while now and cannot find a solution. In java this code works: InetAddress serverAddr = InetAddress.getByName("myservice.local"); Socket socket = new ...
vallllll's user avatar
  • 2,751
0 votes
1 answer
536 views

JmDNS to detect network devices in Android

I am using JmDNS API to detect all the devices connected on the network. I am able to detect devices and list them out. But there is a small problem. My app is displaying machines which are running ...
Abhishek's user avatar
  • 2,943
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
0 votes
1 answer
626 views

Android networking in WAN

So i'm creating services with jmdns and i can access them from local area network from aadress 192.168.0.101:9999/servicename (note that 192.168.0.101 is my android phone localIP). Now if i want to ...
Pätris Halapuu'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

15 30 50 per page
1
3 4
5
6 7
9