title: Folder for temporary files creation in android, Why does /data/local/tmp doesn't work for me?
body: <p>I am trying to create a temporary file in /data/local/tmp directory. The path is correct and I have added permission WRITE_EXTERNAL_PERMISSION also. But still I get an error from native code saying that file can't be created.</p>
  
  <p>The code is as below.</p>
  
  <pre><code>File *file = fopen("mytxt.txt", "/data/local/tmp/");
  </code></pre>
  
  <p>The return value file always contains a null value and no file is created. Is there anything else needed to do? </p>
  
  <p>Is there any other temporary folder that i can use for this purpose in android?</p>
  
  <p>Thanks for any help that i can get.</p>