title: Writing files within native code in Android
body: <p>This seems like a trivial question, so whoever can answer first and provide me with a resource, I'd be happy to provide you with a green tick :)</p>
  
  <p>How can I write files from within native code? I want to perform some processing in C++ which will output a .txt file, so I'd like to save that to the SD card. (I tried and it told me permission denied).</p>
  
  <p>Thanks!</p>