I am trying to clarify the difference between a Broadcast Receiver and Service in android.
I understand that an activity can start a service by calling startService
with an intent.
A broadcast receiver can be registered in code or the manifest and can be called with sendBroadcast
.
When would you use one vs the other?
I understand that multiple broadcast receiver's can be listening for the same intent and this is NOT the case with a service.