Example of direct communication between two devices using JmDNS for Android..
android-jmdns is hosted in the following web site
https://github.com/alwx/android-jmdns
If you think the Android project android-jmdns listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of android-jmdns.
Item | Value |
---|---|
Java File Count | 7 |
Target SDK Version | 19 |
Minimum SDK Version | 9 |
Activity Count | 1 |
jar files used | jmdns-3.4.1.jar |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.ACCESS_WIFI_STATE android.permission.CHANGE_WIFI_MULTICAST_STATE android.permission.INTERNET |
android-jmdns has the following Java source files.
me.alwx.localcommunication.MainActivity.java me.alwx.localcommunication.SampleApplication.java me.alwx.localcommunication.connection.Communication.java me.alwx.localcommunication.connection.Connection.java me.alwx.localcommunication.connection.ConnectionWrapper.java me.alwx.localcommunication.connection.MessageHandler.java me.alwx.localcommunication.connection.NetworkDiscovery.java