1

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.

Marcos Vasconcelos
  • 18,038
  • 29
  • 106
  • 167

2 Answers2

3

Have you tried:

fopen("/sdcard/filename.ext", "r+")

?

Brandon
  • 2,900
  • 1
  • 22
  • 36
1

Please read this answer, things are little bit complicated for Galaxy Tab

Community
  • 1
  • 1
tomash
  • 12,612
  • 15
  • 62
  • 81