Hello everyone!

I am trying to get list of connected custom devices to my mobile hotspot on 
an Android 11 phone.... if I use Termux app I can exec "ip neigh show" and 
obtain devices list but if I do the same programmatically on my app 
implemented on Android Studio with Process proc = runtime.exec("ip neigh 
show"); that doesn't work... is there a way to force execute that process 
via code? Maybe does that depend on setting force minSdkVersion , 
targetSdkVersion, compileSdkVersion on Gradle config and 
AndroidManifest.xml to force backward compatibility even if being on 
Android 11 phone because that permission maybe is Sdk version related?
Or is there an alternative for android 11+ to obtain hotspot's connected 
custom devices programmatically?

Thanks to all!!! 
Cheers!
npuleio

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/6d905047-9d88-451a-bdf8-4cfc7c90708bn%40googlegroups.com.

Reply via email to