Hi,
I would like to do the following, please advice the best solution
- In my native library I will be creating files. File location is /data/data/com.example.remote_service/files/test.txt. (I am able to do that. No issues)
- I want the UI app running in a different process to access these files created by my Native library.( I am having trouble here)
I am not sure what permissions I have to explicitly set so that my UI app can directly access this file using JAVA api's.
I tried using openFileInput() with the absolute path and I got an error and after reading the documentation noticed that I cannot use absolute path for openFileInput().
Is ContentProvider the only option for me or are there any other way to access these files from the UI App.
Appreciate any solution/pointers...
Thanks
Sathish