![]() ![]() ![]() This is a protected intent that can only be sent by the system.Ĭonstant Value: "_COMPLETED" You must hold theRECEIVE_BOOT_COMPLETED permission in order to receive this broadcast. It can be used to perform application-specific initialization, such as installing alarms. Public static final String ACTION_BOOT_COMPLETEDīroadcast Action: This is broadcast once, after the system has finished booting. MediaScannerReciver support two types of the folder:ġ.internal volume, point to $(ANDROID_ROOT)/media.Ģ.External volume, point $(EXTERNAL_STORAGE). ![]() MediaScannerService invoke a public class which named MediaScanner to do the scan work, MediaScanner handle the media database with a public class which named MediaProvider Cause on that spend long time to process the media metadata, so that MediaScannerReceiver will call up MediaScannerService. MediaScannerReciver start up at anytime where receive intent ACTION_BOOT_COMPLETED, ACTION_MEDIA_MOUNTED or ACTION_MEDIA_SCANNER_SCAN_FILE. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |