I\'m building an android application which allow user to pick Image from camera or From Gallery then display the image in a Imageview.My application working fine if the user
InputStream is = getContentResolver().openInputStream(data.getData()); Bitmap bitmap = BitmapFactory.decodeStream(is);
Use this for all Android versions.
Stop with trying to get a path for an uri.