Environment
- Windows (x64) Host
- Android 5.0 USB connected to the Windows machine
- Un-rooted Samsung Galaxy 5
Use-case
- Java APK Application
- Native C++ executable packed as a raw resource part of the APK
- Upon startup executable is to be ~extracted~ to a temp folder where it would execute
Questions/Discussion
Is the above use-case supported by the Android OS?
To the best of my knowledge, '/data/local/tmp' is not accessible to a running app ( but to shell & root ), Is there a directory where the file can be extracted too and executed? ( dir must have execution rights )
What would be the best approach to achieve the above mentioned?