What is the difference between broadcast receiver and a service?

What is the difference between broadcast receiver and a service?
Answer
A Service
receives intents that were sent specifically to your application, just like an Activity. A Broadcast Receiver receives intents that were broadcast system-wide to all apps installed on the device.
 

Tìm kiếm

Back
Top