I have a C program that I can run with my Android root phone. However, for the program to work properly, the program must run as superuser.
Now I want to call a method from this program using the Android NDK interface. What should I do to make my own code work as superuser?
source
share