I'm in the middle of an Android app which takes a picture, crops it and does some extra stuff. I was hoping to do my own cropping system, but the problem comes when I test in different places. Pictures appear rotated in some cases, and not correctly cropped in others (like they had an extra margin around (seeing extra space of the original picture), or so).
More on that, I've considered using Intents. This would release me from the picture taking madness, the cropping, and would add an interesting "get from gallery" option, which I haven't implemented yet. Crop intent may not be in every Android (as it comes with the vanilla Camera app, and some devices just don't have it), so external libraries should be on my way, too.
However, the way I was using crop and picture taking was "automatic", meaning a single button took a square picture (out of a square view of the camera), being cropped at the same time (and with some post processing too), without issuing the user, and the crop libraries I've seen don't work that way (they open a new Activity).
Now comes the question: Would it be better to leave the work to Intents (and/or external libraries) and rethink the logic of the app, or to stick to the current code and do edge-case modifications as they appear (rotate in some devices and not in others, crop differently, etc)?
PD: I know this question might not be as development-tight as others (some will say: no lines of code > no SO!), but it is indeed something related to coding as well, so I find no better place to ask it.