Skip to content Skip to sidebar Skip to footer

Update Gallery After Capture An Image Android

I try to create an app that can capture image from camera and show the result based on image path. Inside the button which handles capturing image as below btnImg.setOnClickListene

Solution 1:

it seems that your question should be rephrased differently: this may solve your problem

sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(myNewFile)));

reference : How can I update the Android Gallery after a photo?

Post a Comment for "Update Gallery After Capture An Image Android"