title: Android where file is saved FileOutputStream
body: <p>Here how I write bytes to a file. I'm using <code>FileOutputStream</code></p>
  
  <pre><code>    private final Handler handler = new Handler(){
              @Override
              public void handleMessage(Message msg) {
                  FragmentActivity activity = getActivity();
                          byte[] readBuffer = (byte[]) msg.obj;
                          FileOutputStream out = null;
                          try {
                              out = new FileOutputStream("myFile.xml");
                              out.write(readBuffer);
                              out.close();
                          } catch (FileNotFoundException e) {
                              e.printStackTrace();
                          } catch (IOException e) {
                              e.printStackTrace();
                          }
             }
  }
  </code></pre>
  
  <p>and now I want to open that file, so I need to have path of that file. So how I need to open that file?</p>
  
  <p>EDIT:</p>
  
  <p>Here how I read from file, but I can't see anything...</p>
  
  <pre><code>BufferedReader reader = null;
                      FileInputStream s = null;
                      try {
                          s = new FileInputStream("mano.xml");
                          reader = new BufferedReader(new InputStreamReader(s));
  
                          String line = reader.readLine();
                          Log.d(getTag(), line);
                          while (line != null) {
                              Log.d(getTag(), line);
                              line = reader.readLine();
                          }
                      } catch (FileNotFoundException e) {
                          e.printStackTrace();
                      } catch (IOException e) {
                          e.printStackTrace();
                      }
  </code></pre>