title: Read from internal storage file (Android)
body: <p>How to read the particular data from the internal storage file.
  For eg., I have stored 
  1. Device    2. Time(epoch format)     3. button text</p>
  
  <pre><code>            CharSequence cs =((Button) v).getText();
              t = System.currentTimeMillis()/1000;
      s = cs.toString();
      buf = (t+"\n").getBytes();
      buf1 = (s+"\n").getBytes();
  
  
      try {
          FileOutputStream fos = openFileOutput(Filename, Context.MODE_APPEND);
          fos.write("DVD".getBytes());
          fos.write(tab.getBytes());
          fos.write(buf);
          fos.write(tab.getBytes());
          fos.write(buf1);
          //fos.write(tab.getBytes());
          //fos.write((R.id.bSix+"\n").getBytes());
          fos.write(newline.getBytes());
          //fos.flush();
          fos.close();
  
      } catch (FileNotFoundException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      } catch (IOException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      }
  </code></pre>
  
  <p>then while reading, how can we read only price from the file? (using fos.read()) </p>
  
  <p>Thanks</p>