问题
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?
PS: Testing under Galaxy Tab.
回答1:
Have you tried:
fopen("/sdcard/filename.ext", "r+")
?
回答2:
Please read this answer, things are little bit complicated for Galaxy Tab
来源:https://stackoverflow.com/questions/4661664/acess-external-sd-card-with-ndk