Android 4.1 以降、Network Service Discovery (NSD)が利用可能になりました。ただし、コンピュータまたは Android を実行していない他のデバイスから NSD サービスを公開する Android デバイスを見つけるにはどうすればよいでしょうか。例に示されているように Android アプリをビルドすると、他のデバイスは問題なく検出されますが、Android が常にプラットフォームとして使用されるとは限りません。
I am running UPnP discovery on my PC and the phone does not show up.
You can find my NSD-Service implemented here on github.
The Discovery app is simple from the android example.
The UPnP example is using Cling and is from their tutorial it finds my router and the windows media player so I assume it works.
It may be that the issue is based on a mismatch of service discovery protocols, I relay am confused as to the differences between NSD, UPnP, Bonjour, Zeroconf and all the other possibilities...