I am trying to create an application which can find all devices in local area network. I have been able to do it by pinging the IP range. Are there any other ways to do the same?
Is it possible to do detect devices in same network by listening to incoming packets in android ?
Following code will search the device and put their information in a list:-
and you'll need some getter setters for this. You can add them in a different class as follows:-