title: get textfile from internal storage
body: <p>my app writes a text file to the internal memory (sd card not available).
  I want to bring this to the laptop.
  My file explorer shows the internal memory but not the file it is
  only a few directories can be seen, but they do not contain the text file.
  I am not allowed to write in the directories (illegal argument-exception).
  In the enclosed code I once wrote a text file and read it again.
  My question: how can I get the text file onto the laptop?</p>
  <pre><code>  void example() {
      String me;
      try {
        FileOutputStream fOut = openFileOutput(&quot;filenamew.txt&quot;, Context.MODE_PRIVATE);
        String str = &quot;test data: xyz&quot;;
        fOut.write(str.getBytes());
        fOut.close();
        FileInputStream fin = openFileInput(&quot;filenamew.txt&quot;);
        int l = 32;
        int c;
        int le = 0;
        String temp = &quot;&quot;;
        while ((c = fin.read()) != -1) {
          if (++le &gt; l)
            break;
          temp = temp + (char) c;
        }
        fin.close();
        File verz = getFilesDir(); //data/user/0/de.wicki.pdftextapplication/files
        String vp=verz.getAbsolutePath(); //data/user/0/de.wicki.pdftextapplication/files
        File[] dateien = verz.listFiles();
        String q=&quot;&quot;;
        for(int i=0;i&lt; dateien.length;i++ ){
          String name=dateien[i].getName();
          String laenge=&quot;&quot;+dateien[i].length();
          q=q+&quot;|&quot;+name+&quot;:&quot;+laenge;
        }
        q=q+&quot; &quot;;
    } catch(Exception e) {
        me=e.getMessage();
    }
     me=&quot;Ende&quot; ;
  }
  </code></pre>