When I generate the photo through my app, it correctly creates the folder and saves the photos taken there, but when I go to the Cell Gallery it is as if the photos did not exist, the default Android gallery does not recognize the files. p>
Can anyone tell me if I have permission to give the photos so they can be viewed in the gallery? Or even if this would be an Android configuration.
I'm using Android 4.0
private void addImage() {
Intent intent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE);
intent.setData(uri);
this.sendBroadcast(intent);
}