title: Android getFilesDir() vs getDir() - What do I use to save files in my apps private data?
body: <p>I understand this question is very similar: <a href="https://stackoverflow.com/questions/11781260/what-is-the-difference-between-getdir-and-getfilesdir-on-android">What is the difference between getDir and getFilesDir on Android?</a></p>
  
  <p>But, I'm still not sure what to use when I simply want to save my files in my private data.</p>
  
  <p>For a directory should I just use <code>data/data/com.test.myapp</code>? That will make it private to my application?</p>
  
  <pre><code>// Gets the absolute path to the filesystem directory where your internal files are saved.
  getFilesDir()
  
  // Creates (or opens an existing) directory within your internal storage space.
  getDir()
  </code></pre>
  
  <p>I've also tried reading through some of the commonsware open source projects, but I guess I just get even more confused about the whole <code>getExternalFilesDir()</code> because doesn't Android refer to internal storage (non-sdcard) as "external" storage after a certain api level?</p>