I start following intent:
Intent cropIntent = new Intent("com.android.camera.action.CROP");
cropIntent.setDataAndType(data.getData(), "image/*");
cropIntent.putExtra("crop", "true");
cropIntent.putExtra("outputX", wallWidth);
cropIntent.putExtra("outputY", wallHeight);
cropIntent.putExtra("aspectX", wallWidth);
cropIntent.putExtra("aspectY", wallHeight);
cropIntent.putExtra("scale", true);
cropIntent.putExtra("scaleUpIfNeeded", true);
cropIntent.putExtra("return-data", true);
cropIntent.putExtra("noFaceDetection", true);
In my case wallWidth and wallHeight are 960/800 and then this intent stucks at cropping (this loading circle rotates the whole time). If I enter there something around 400 or less for the output it works perfectly. How can I fix this? Because I want to have a bitmap with higher resolution as output.