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 then run the java server, the app succeed to discover the registerd java server. But when I first run the server and then the android app, the onDiscoveryStarted method called but the onServiceFound method never triggered - the android app doesn't