Tool/software: Linux
Hi,
The problem:
While we are developing and testing out our solution for Apple CarPlay,
we need to execute shell commands to re-configure the USB and grant directory/file permissions using shell commands to allow native code in an Android app to access the proper directory and file.
We have been using a workaround by doing 'su' and running some shell scripts before running our Android app.
We've reached a stage where this is not acceptable and need to have an automated way to do all the directory file configurations programmatically.
I cannot run SU or get root privileges for Android app in either Java or native code.
Is there an easy way to solve this problem?
Thanks,
Alan