Access Android external SD card from native code

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
分享
二维码
< <上一篇
下一篇>>