To read an image from Android Emulator
<p>This is my code to convert image file into byte array.</p>

<pre><code> public String GetQRCode() throws FileNotFoundException, IOException {
    /*
     * In this function the first part shows how to convert an image file to 
     * byte array. The second part of the code shows how to change byte array
     * back to a image.
     */
    AssetManager mgr = mAppView.getContext().getAssets();
    InputStream in = mgr.open("www/Siemens_QR.jpg");
InputStreamReader isr = new InputStreamReader(in);
     char[] buf = new char[20];
    isr.read(buf, 0, 20);
    isr.close();
    // byte[] bytes = bos.toByteArray();
    String abc = buf.toString();
    return abc;
}
</code></pre>

<p>Here I am converting an image file into byte array. I am able to do this. But when try to read this image file using the path ("sdcard/Download/Siemens_QR.jpg") stored in emulator then I am getting VM aborting error. Please suggest me the correct path to read the image file stored in the emulator.  </p>
