Writing / reading file in the internal storage of Android (the file disappears)
<p>I have a class which write a png in the internal storage. When I write and read it just after that, it works.</p>

<pre><code>FileOutputStream fileOutStream = openFileOutput(filepath,
                    Context.MODE_PRIVATE);
mBitmap.compress(Bitmap.CompressFormat.PNG, 90, fileOutStream);
fileOutStream.close();
</code></pre>

<p>(the type of Bitmap is a Bitmap)</p>

<pre><code>FileInputStream fileInStream = openFileInput(filepath);
byte[] fileContent = org.apache.commons.io.IOUtils.toByteArray(fileInStream); 
</code></pre>

<p>When I use the same read function, with the same filepath parameter (I verify id), but in another class, it doesn't work. </p>

<p>Is there a limitation when using with another class of the same project ?</p>

<p>Regards</p>
