Today I had a few free minutes and I wanted to create a network scanner to identify the IPs present in the subnet. Then you could add other functions if you wanted. FOR Android <= 9
This code works up to Android 9, devices with higher versions does not work.
I tried with an old Samsung S8 and it works. I will do further testing with other devices
Android 10 (Q) introduced a restriction: apps running on devices with Android 10+ cannot read /proc/net (which includes /proc/net/arp). When you try File.ReadString("/proc/net/", "arp") the kernel/SELinux returns EACCES (Permission denied) and B4A raises the Java FileNotFoundException. That’s exactly the exception you see.