broadcastreceiver - How broadcast receiver works in Android -


i have question broadcastreceiver in android, say, system broadcast receiver boot_completed. if have written listener broadcast after system booted , installed it. how android system know has notify application, since application not running installed? that, broadcastreceiver derived classes in memory (or system loads them in memory after bootup) , whenever broadcast happens, relevant application can receive it.

thanks braj

when broadcast boot_completed sent, android system checks manifests of loaded apps see if meant handle message. same true implicit intents, , broadcasts.

manifests public facing , allows system know app can , do.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -