title: How to save file without SD Card?
body: <p>I have a device without a memory card and I want to save the file. I've tried:</p>
  
  <pre><code>filePath = Environment.getDataDirectory().toString();
  </code></pre>
  
  <p>/data/....   EACCES (Permission denied)</p>
  
  <pre><code>filePath = Environment.getDownloadCacheDirectory().toString();
  </code></pre>
  
  <p>/cache/....  EACCES (Permission denied)</p>
  
  <p>and</p>
  
  <pre><code>filePath = Environment.getRootDirectory().toString();
  </code></pre>
  
  <p>/system/....  EROFS (Read-only file system)</p>
  
  <p>is there other way?? (Sorry for my english :P)</p>