BufferedReader gives weird behaviour on different Android versions
<p>I am trying to open an existing file, and process it, and save it somewhere else in Android.</p>

<pre><code>File in = new File("/sdcard/a.pdf"); // This file exists in the location and has been obtained by using getExternalStorage()
FileInputStream fis = new FileInputStream(in);
BufferedReader br = new BufferedReader(new InputStreamReader(fis));

header = br.readLine(); // this gives first line in android 2.3.3 but gives null in android 2.3.6
</code></pre>

<p>Executing the above code in Android 2.3.3 gives me the header while executing it in Android 2.3.6 gives "null" in the header.</p>

<p>What may be the problem?</p>

<p>Please Help.</p>
