AA
Size: a a a
AA
🅵
A
AY
A
AY
AY
/**
* Broadcast Action: Request the media scanner to scan a file and add it to the media database.
* The path to the file is contained in the Intent.mData field.
*/
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
public static final String ACTION_MEDIA_SCANNER_SCAN_FILE = "android.intent.action.MEDIA_SCANNER_SCAN_FILE";
AY
val uri = Uri.fromFile(File(path))
val mediaScanIntent = Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE)
mediaScanIntent.data = uri
context.sendBroadcast(mediaScanIntent)
A
/**
* Broadcast Action: Request the media scanner to scan a file and add it to the media database.
* The path to the file is contained in the Intent.mData field.
*/
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
public static final String ACTION_MEDIA_SCANNER_SCAN_FILE = "android.intent.action.MEDIA_SCANNER_SCAN_FILE";
AY
AY
AY
A
DK
PI
DK
PI
YM
YM
actions: <Widget>[
// action button
IconButton(
icon: Icon(Icons.open_in_new),
onPressed: () {
OpenFile.open(_journalPath);
}
),
],