Scan Android SD card for new files

I’ve tried plenty of different methods to trigger the MediaScanner, and these are my results. SendBroadcast The most simple and naive solution. It consists in executing the following instruction from your code: sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse(“file://”+ Environment.getExternalStorageDirectory()))); However, this no longer works in KitKat devices, due to a lack of required permissions. MediaScannerWrapper As posted here … Read more