I want to call ACTION_MEDIA_SCANNER_SCAN_FILE intent, but I need to send it a data uri.
Something like this:
Intent mediaScanIntent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE);
Uri contentUri = Uri.parse(absolutePath);
mediaScanIntent.setData(contentUri);
this.cordova.getActivity().sendBroadcast(mediaScanIntent)
But I can't set data with WebIntent plugin.
I want to call ACTION_MEDIA_SCANNER_SCAN_FILE intent, but I need to send it a data uri.
Something like this:
But I can't set data with WebIntent plugin.
References: