Skip to content

Instantly share code, notes, and snippets.

Last active Dec 14, 2015
What would you like to do?
private void scanMedia(File file) {
Uri uri = Uri.fromFile(file);
Intent scanFileIntent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, uri);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment