拍照时候在onActivityResult中获得相机拍照后点击确定后的照片。
Android中用Intent提取缩略图和原始图像
可以接受照片的缩略图
Bundle bundle =data.getExtras();
photo = (Bitmap)bundle.get("data");
或者
photo=data.getParcelableExtra("data");
也可以接受原图片的uri地址
在Intent调用相机时存一个uri
Intent intent = new Intent("android.media.action.IMAGE_CAPTURE")