老师 我的这个为何获取不到原图那
public void carmera2(View v){
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
Uri pictureuri = Uri.fromFile(new File(mFilePath));//改变系统相机拍照存储路径
intent.putExtra(MediaStore.EXTRA_OUTPUT,pictureuri);//保存图片到指定路径
startActivityForResult(intent, REQ_2);
}
else if(requestCode==REQ_2){
FileInputStream fis = null;
try {
fis = new FileInputStream(mFilePath);
Bitmap bitmap = BitmapFactory.decodeStream(fis);
imageView.setImageBitmap(bitmap);
} catch (FileNotFoundException e) {
e.printStackTrace();
}finally {
try {
fis.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}