Bitmap to integer array?
<p>in my application i have a database where i store image .i want to retrieve images.images are easly retrieve in BitMap but the problem is how can i convert that BitMap image into integer format.</p>

<p>this is code:</p>

<pre><code>   DataBaseClass objOfDataBaseClass=new DataBaseClass(context);
    Cursor mCursor=objOfDataBaseClass.showData();//here is all data taken from dataBase

if(mCursor.moveToNext()) {

        byte[] mg=null;
        mg = mCursor.getBlob(mCursor.getColumnIndex("image"));
        Bitmap bitmap = BitmapFactory.decodeByteArray(mg, 0, mg.length);

         int[] store=?//how can i bitMap store in this array.
}
</code></pre>