I have created a port scanner in Python which uses "socket" library. I want to implement that in an Android app. I'll Explain the things i've done :
I want to find a way to run the app with root access so everything works perfectly
that's everything i've done. please provide some suggestion and advice Thank you :)
If all you're doing is making TCP or UDP connections, and you're not attempting to use a local port number below 1024, then you won't need root access. However, you will need the INTERNET permission.