Search code examples
androidnetwork-programmingbroadcastwireless

Get list of devices in local network (LAN)?


I'm looking for a way to find all devices (especially printers) in the local area network (LAN).

Is there are way to differentiate between printers and other devices (smartphones, laptops, computers, etc.)?


Solution

  • What if you try this? http://jmdns.sourceforge.net/

    JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour.