我在水平滚动视图中从相机捕捉图像。当我选择该图像并在图像视图中以完整图像显示时,它变得非常模糊。为什么不在imageview中显示清晰的图像。如何解决这个问题。提前谢谢
btnCamera.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(cameraIntent, CAMERA_REQUEST);
Log.e("Camera", " Open");
}
});
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == CAMERA_REQUEST) {
Bitmap photoBitMap = (Bitmap) data.getExtras().get("data");}
}