How do I run my packaged binary in my Android app?
问题 I have an Android app that needs to run a custom binary app I wrote. I already built the binary using ndk and packaged it in the apk under res/raw I did something like this to first run the su process. Process process; process = Runtime.getRuntime().exec("su"); DataOutputStream os = new DataOutputStream(process.getOutputStream()); What do I do after this to run the binary from resources? There was another question here that suggested the use of AssetManager but I don't understand how to do it