I want to convert
byte image = cursor.getBlob(5);
Bitmap bit_image = getImage(image);
You can't do what you are trying to do.
R.string and so on are not the resources itself, but an reference to the resources in the application. So you can't convert anysort of object to
R or something. What you can do is use the
Bitmap and display it directly.