Hello.
What am I trying to achive:
I want to pick an image from the android gallery, crop it using a third part library, send the cropped data through an inputstream.
With what?
With this library since it has got me closest to a working result: https://github.com/jdamcd/android-crop
I don't see any option to insert code here so a pastebin will do:
http://pastebin.com/KHsEw604
The issue:
After cropping, when pressing "Finish" and "handleCrop()" should be executed, the app shuts down without error. Simply doing nothing else.
The requestCode "Crop.REQUEST_CROP" never get's "called". And I can't work out why. I even set that Int manually in the beginCrop() function.
What am I trying to achive:
I want to pick an image from the android gallery, crop it using a third part library, send the cropped data through an inputstream.
With what?
With this library since it has got me closest to a working result: https://github.com/jdamcd/android-crop
I don't see any option to insert code here so a pastebin will do:
http://pastebin.com/KHsEw604
The issue:
After cropping, when pressing "Finish" and "handleCrop()" should be executed, the app shuts down without error. Simply doing nothing else.
The requestCode "Crop.REQUEST_CROP" never get's "called". And I can't work out why. I even set that Int manually in the beginCrop() function.