The reason why Android programs fail to run automatically is because boot_completed broadcasts are not received. The possible reasons for not receiving boot_completed broadcasts may include the following:
(1), boot_completed corresponding action and uses-permission not added together
(2), the application installed in the SD card, installed in the SD card application is not receiving boot_completed broadcast
(3), the system turned on the fast boot mode, this mode of system boot does not send boot_completed broadcast
(4), the application has not been started after installation, in this case, the application does not receive any broadcasts, including boot_completed, action_package_added, connectivity_action and so on.
After Android3.1, the system in order to enhance the security control, the application after installation or (set) in the application management is forced to shut down in the stopped state, in this state is not receiving any broadcasts. It will not be out of this state until it has been started (user open or other application call), so after Android3.1
(1), the application cannot be started after installation
(2), a program without a UI must be activated by another app to start, such as its activity, Service, Content provider are called by other applications.
Cause analysis of Android Auto run failure