1

I'm trying to crop Imageview. In all devices image crop by using crop intent is working fine but not working for amazon kindle devices.

Intent intent = new Intent("com.android.camera.action.CROP");       
intent.setType("image/*");
intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri);
intent.putExtra("scaleType", "centerCrop");
intent.putExtra("crop", "true");
intent.putExtra("outputX", 1200);
intent.putExtra("outputY", 1600);
intent.putExtra("aspectX", 0);
intent.putExtra("aspectY", 0);
intent.putExtra("scale", true);
startActivityForResult(i, CROP_FROM_CAMERA);

is there any way to do that. Because crop inent is not supported by kindle.

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
Tashen Jazbi
  • 1,068
  • 1
  • 16
  • 41

1 Answers1

0

Try to use some custom library for croping :

  1. https://github.com/edmodo/cropper

  2. https://github.com/jdamcd/android-crop

Haresh Chhelana
  • 24,720
  • 5
  • 57
  • 67