In my app, I have functions of taking photos and open gallery to watch them. When user take a photo, it updates media through:
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED,
Uri.parse("file://" + Environment.getExternalStorageDirectory())));
But always appears saying something like "Media scan completed". I would like to remove this toast.
Thanks