How to capture an square image in android?
I want to capture an square image (such as 300x300 pixel) by calling Camera through intent in android, how can I do this?
where sourceBitmap is original capture from camera and xStart and yStart location from where cropping will start. The result should have xStart, yStart in top left corner.