All Questions
37
questions
1
vote
0
answers
457
views
Get scope id/network interface of NsdServiceInfo of a link-local IPv6 service
I want to connect to a link-local IPv6 service represented by an NsdServiceInfo. The service is announced in the LAN via zeroconf. Therefore I need the scope ID in addition to the IP (i.e. to create &...
0
votes
0
answers
986
views
How to send socket data from Android device to pc connected via Android's Hotspot (AP)
Related question with no answers Using DatagramSocket and python socket with devices connected to hotspot
My goal to implement something like syncthing so I can transfer files across my devices on a ...
11
votes
3
answers
4k
views
NSdManager ResolveListener Error Code 3: Failure Already active
I'm using NsdManager in an Android App to discover NSD services published by another device also developed by me. I only do service discovery on Android App (no service registration needed on this ...
3
votes
0
answers
828
views
Android Network Service Discovery get hostname (mDNS/Zeroconf)
I am trying to get the hostname from a service that is advertising itself on my local network using mDNS/Zeroconf. I am using Android's Network Service Discovery API, but it seems as if Android doesn'...
2
votes
0
answers
476
views
How to use NsdManager to detect an emulated device on a private network?
I'm currently working on a mobile app that discover's and resolve's a device on a private network. The app currently works perfect and will allow me to connect a socket to this device.
Now I'm ...
0
votes
1
answer
2k
views
Detecting MDNS/Zeroconf device works on Android 5.1.1 but not on Android 7
I am detecting a device on a private network with no internet access. The only devices on the network are the device I'm detecting and the mobile devices or PC's that have app I am currently working ...
3
votes
1
answer
2k
views
Android NsdManager not able to discover services
I'm running into a problem with Androids NsdManager when following their tutorial Using Network Service Discovery.
I have a few zeroconf/bonjour hardware devices on my network. From my mac I can ...
2
votes
1
answer
461
views
JmDNS service not found in ZeroConf browser
I'm developing a web app in Java (with Spark) and I want it to use JmDNS to be able to find this server in my Android app. I was following steps from JmDNS page with service registration, and my code ...
2
votes
1
answer
458
views
Android JmDNS how to remove service
im currently writing an android app, which should keep track of other devices in the same wifi network using JmDNS.
The discovery process works correctly, but i don't know how to keep track of other ...
0
votes
1
answer
33
views
file request for: "0002-Add-uninstalled.pc.in-files.patch" from avahi for compiling for android
I try to compile a Qt console project for Android that includes DNS services provided by avahi. As my shared libraries dns_sd.so are not compatible, I would try to compile avahi according to these ...
1
vote
1
answer
665
views
Android NSD: registration with null service type
The result of the registration shouldn't be empty, this is what I get from logcat and the callback of successful registration.
registerService 46518
onServiceRegistered name: mytest, type: null, host:...
7
votes
2
answers
3k
views
How to find all available services using Android's native Network Service Discovery
I've read through android documentation on finding specific network services using NSD. Below is my code to discover all the available _http._tcp services.
final NsdManager.DiscoveryListener ...
2
votes
0
answers
268
views
How to trigger mDNS broadcast by software?
When a device supporting zero-configuration is plugged into an Android device's Ethernet port, it immediately starts to send mDNS packets to broadcast its services to the Android device. I am ...
2
votes
0
answers
904
views
How to discover network services on domain other than .local domain in Android?
I want to use Android Network Service Discovery (NSD) function to discover some local network services advertised on local domain. I read the official documentation on Android website about Android ...
2
votes
0
answers
468
views
Unregister Android Network Service Discovery services with abnormal app exits?
I'm trying out the official android NSDchat example to communicate between two android phones connecting to the same wifi network.
The chatting part of the example was working fine. However, if the ...