Uri uri = Uri.parse("file://" + Environment.getExternalStorageDirectory()); sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_ALL, uri));