I have raspberry pi which connected to my network and got its IP with DHCP dynamically.
I need the IP address of the raspberry pi in my Android program for my iot project.
In other OS I could use the nmap
or arp
commands, but I could not find a proper way in Android. I've already read these solutions, but they weren't helpful: