三星galaxy s8相机捕捉图像模糊

时间:2017-06-08 19:14:03

标签: android android-camera

我将手机发送到相机

Intent captureIntent = new Intent(
                MediaStore.ACTION_IMAGE_CAPTURE);
        Intent pickIntent = new Intent();
        pickIntent.setType("image/*");
        pickIntent.setAction(Intent.ACTION_GET_CONTENT);

        // we will handle the returned data in onActivityResult
        String pickTitle = "Select or take a new Picture"; 
        Intent chooserIntent = Intent.createChooser(pickIntent, pickTitle);
        chooserIntent.putExtra
                (
                        Intent.EXTRA_INITIAL_INTENTS,
                        new Intent[]{captureIntent}
                );
        startActivityForResult(chooserIntent, CAMERA_CAPTURE);
    } catch (ActivityNotFoundException anfe) {
        Toast toast = Toast.makeText(context, "This device doesn't support the crop action!",
                Toast.LENGTH_SHORT);
        toast.show();
    } catch (Exception e) {
        e.printStackTrace();
    }

并且相机在图像清晰的情况下会很好地加载,但是当我拍摄照片时,确认图像屏幕会像this.那样模糊不清 当我只用相机应用程序在我的应用程序外拍照时,确认屏幕看起来很好。据我所知,我的几个测试设备只能影响s8。其他人是否面临此问题和/或了解修复或解决方法?

0 个答案:

没有答案