Uri uri = data.getData(); try { InputStream is = getContentResolver().openInputStream(uri); } catch (Exception e) { Toast.makeText(this, "Something went w