What is the life cycle of Broadcastreceiver in Android?

What is the life cycle of Broadcastreceiver 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. When onReceive() returns, it is inactive.
 

Tìm kiếm

Back
Top