Skip to main content

All Questions

Tagged with
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 &...
Wave's user avatar
  • 61
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 ...
Phani Rithvij's user avatar
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 ...
DarkJediNinja's user avatar
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'...
reinder's user avatar
  • 2,551
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 ...
Jason Crosby's user avatar
  • 3,563
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 ...
Jason Crosby's user avatar
  • 3,563
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 ...
zafrani's user avatar
  • 4,080
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 ...
Mohru's user avatar
  • 743
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 ...
Iconic's user avatar
  • 41
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 ...
Andrea S.'s user avatar
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:...
user3290180's user avatar
  • 4,370
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 ...
waqaslam's user avatar
  • 67.9k
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 ...
Hong's user avatar
  • 18.3k
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 ...
tonga's user avatar
  • 11.9k
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 ...
user4344387's user avatar

15 30 50 per page