I'm developing a native apk for android with NDK 5.
My question is, how do I access to write and read from external SD card from native code?
It works the same as Java code.
You need to use the SDK API Environment.getExternalStorageDirectory() in your Java code and then pass that to your native code, accessing it like a normal path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With