I wanted to save the OpenCV resultant Images into my Android gallery automatically but in my case the Images are not being saved in my gallery.
Here's my code for saving the Images.
String Folder = Environment.getExternalStorageDirectory().getPath()+"/Gallery";
String timestamp = new SimpleDateFormat("yyyyMMdd_HHmmss").Format(new Date());
Highgui.imwrite(Folder + "/" + "Name_" + timestamp + ".png", outputImage);
I had a look into my Android Manifest file too and I had permissions to write the Images into storage card.