title: android: why to use Environment in Environment.getDataDirectory() where as not used for getFilesDir()
body: <p>I came across the following methods:</p>
  
  <pre><code>Environment.getDataDirectory() : /data
  </code></pre>
  
  <p>and </p>
  
  <pre><code>getFilesDir() : /data/data/package/files
  </code></pre>
  
  <p>One method uses Environment and other does not.</p>
  
  <p>whats the significance. It would be simple to use without Environment because the method names are not same.</p>