I am working on an app that manipulates audio files using the native library oboe. This is my first project using the Android NDK, I am also new to C++.
So far I managed to open files from the asset folder, this works without a problem. I also uderstand I can open files from elsewhere (if I have the path) using fopen as described here: File Operations in Android NDK
But how can I handle files from the Mediastore, where you have Uris instead of concrete paths? I can't seem to find any information on how to handle this? What would be a feasible approach? Are there any best practices? I know how this works in Java/Kotlin, but how can I access the store from native code, or how can I hand them over?