I have integrated Aviary Photo editor in my Android App.
I am passing the tools below-
String[] tools = new String[]{"SHARPNESS", "EFFECTS",
"REDEYE",
"CROP",
"WHITEN", "DRAW", "STICKERS", "TEXT", "BLEMISH", "MEME",
"ORIENTATION", "ENHANCE", "FRAMES", "SPLASH", "FOCUS", "BLUR",
"VIGNETTE", "LIGHTING", "COLOR", "OVERLAYS"};
newIntent.putExtra(Constants.EXTRA_TOOLS_LIST, tools);
But the cropping is not working.
EDIT
Cropping is Working now BUT when i get the bitmap from mMainController.getBitmap
then it still returns origin bitmap (WITHOUT Cropped).
Here is my code -
@Override
public void onApplyClick() {
// TODO Auto-generated method stub
mMainController.onApply();
SaveBitmap(mMainController.getBitmap());//This is returning original bimap NOT CROPPED.
}