I\'m trying to save an image file to external storage. I can save the picture to the sdcard but it doesn\'t show up in Androids gallery application. I\'ve tried this approac
Simply use MediaScannerConnection after you saved your bitmap to sd:
MediaScannerConnection.scanFile(this,
new String[] { Bitmapfile.getAbsolutePath() }, null,
new MediaScannerConnection.OnScanCompletedListener() {
public void onScanCompleted(String path, Uri uri) {
//now visible in gallery
}
}
);