Access Android external SD card from native code
•
Android
I am using NDK 5 to develop a native APK for Android
My question is, how can I access the write and read of the external SD card from the native code?
resolvent:
It works the same way as Java code
You need to use SDK API environment. Getexternalstoragedirectory () in Java code, and then pass it to your native code to access it like a normal path
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码