What is broadcast lifecycle in Android?

What is broadcast lifecycle in Android?
Answer
When a broadcast message arrives for the receiver, Android calls its
onReceive() method and passes it the Intent object containing the message. The broadcast receiver is considered to be active only while it is executing this method. … A process with an active broadcast receiver is protected from being killed.
 

Tìm kiếm

Back
Top