Android Broadcast Receiver vs Service [duplicate]
问题 This question already has an answer here: BroadcastReceiver vs Service 2 answers 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