Listing files in /data/app gives no results
<p>I tried to list files in <code>/data/app/</code> folder on an Android emulator with the following activity, however logcat shows only "No files found in /data/app" no matter if I try <a href="http://developer.android.com/reference/java/io/File.html#listFiles%28%29" rel="nofollow">File.listFiles()</a> or <a href="http://developer.android.com/reference/java/io/File.html#list%28%29" rel="nofollow">File.list()</a>. I also tried <code>/data/app/</code> with no success.</p>

<pre><code>public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    File dataDir = new File("/data/app");
    File[] files = dataDir.listFiles();
    if (files == null) {
        Log.w("TestActivity", "No files found in /data/app");
    } else {
        for (File file : files) {
            Log.d("TestActivity", "file: " +file.getName());
        }
    }
}
</code></pre>

<p>Am I missing some permission here? Or is simply /data/app empty on an emulator?</p>
