action media scanner scan file android 30 deprecated
File file = new File(filePath);
MediaScannerConnection.scanFile(context,
new String[]{file.toString()},
new String[]{file.getName()},null);
Are there any code examples left?
New code examples in category Java