What is the difference between broadcast receiver and a service?

Lê Như Ý

New member
What is the difference between broadcast receiver and a service?
Answer
Android will start the broadcast receiver the Google Play service registered, along with any other broadcast receiver waiting for that event. … An activity represents a window on the screen; a service performs a possibly long-running background task; a broadcast receiver runs for a short time, to handle an event.
 

Tìm kiếm

Back
Top