/ip-neigh-sdk30

Primary LanguageCCreative Commons Zero v1.0 UniversalCC0-1.0

IP neighbour for Android with TargetSDK 30 and above

License: CC0-1.0


What this library does?

This library is born because Google has removed the possibility to use command like ip neigh for all the apps with targetSDK '30'.

More precisely apps cannot bind netlink socket when targeting Android API 30, then apps cannot retreive Arp table anymore.

With this library, you can easily do that!

Screenshot

How to import

dependencies {
  ...
  implementation 'com.github.fulvius31:ip-neigh-sdk30:v0.0.2-alpha'
}

How to use

Use this library, is pretty easy. You have to call a method from the library that returns a String.

import it.alessangiorgi.ipneigh30.ArpNDK;

...

String arpTable = ArpNDK.getARP();