converting image to bitmap in android
use this code
Bitmap bmp=BitmapFactory.decodeStream(getContentResolver().openInputStream(uri));
use this code
Bitmap bmp=BitmapFactory.decodeStream(getContentResolver().openInputStream(uri));