title: Check if a file has been written to in Android
body: <p>I have a question about Android programming. Basically, I am unsure of where to check where my file is, and if I wrote to it correctly. I want to locate where the file is, and I also want to know whether or not I wrote to it correctly. Below is the code I have come up with:</p>
  
  <pre><code>String lsNow = "testing";
  try {
      fos = openFileOutput("output.txt", Context.MODE_APPEND);
      fos.write(lsNow.getBytes());
      fos.close();
  }
  catch{
  ...
  }
  </code></pre>
  
  <p>Where can I find output.txt? Might anyone know how to check this all out? if so, that would be great! I am using an emulator by the way. If I were to do this on a real Android, how would one approach this also? (Just for future reference)</p>