Intent.ACTION_MEDIA_SCANNER_SCAN_ALL

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

猜你喜欢

转载自sunj.iteye.com/blog/1670982
今日推荐