Does Samsung Galaxy SIII have a bug in its camera?

2020-03-06 09:03发布

I use the following code to kick off the camera, however, 3/4's of the time, the photo does not save to memory. This only occurs on the Galaxy SIII. It works on the Nexus S and Nexus One

public void photoNew() {
    holdingImage = getContentResolver().insert(MUtil.genImgUri(), new ContentValues());   
    Intent i = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
    Bundle extras = new Bundle();
    extras.putParcelable(MediaStore.EXTRA_OUTPUT, holdingImage);
    extras.putBoolean("return-data", true);
    i.putExtras(extras);
    startActivityForResult(i, REQ_PHOTO);   
}

1条回答
Animai°情兽
2楼-- · 2020-03-06 09:19
登录 后发表回答