i'm using cropping functionality in my android application and it works fine but i want to save cropped image to my SD Card
. For that what steps needs to be followed?
If the Bitmap
you cropped is called yourBitmap
File sdcard = Environment.getExternalStorageDirectory();
File f = new File (sdcard, "filename.png");
FileOutputStream out = new FileOutputStream(f);
yourBitmap.compress(Bitmap.CompressFormat.PNG, 90, out)