how to fetch image path from database using byte array in android
<p><strong>W/System.err(15366): android.database.CursorIndexOutOfBoundsException: Index 1 requested, with a size of 1</strong>              </p>

<pre><code>byte[] bytes = cur.getBlob(cur.getColumnIndex(imgarr.get(i)));          
ByteArrayInputStream input = new ByteArrayInputStream(bytes);                
Bitmap bit = BitmapFactory.decodeStream(input);
</code></pre>
