Put BroadCastReceiver wherever it is needed. If people want it, you won’t give it to them? Service must be the core. Why do you need to unbind and bind to Service? Service runs its own. Other modules can send messages to it and listen to its broadcasts. What to do to bind and unbind?
Put BroadCastReceiver wherever it is needed. If people want it, you won’t give it to them?
Service must be the core.
Why do you need to unbind and bind to Service?
Service runs its own. Other modules can send messages to it and listen to its broadcasts. What to do to bind and unbind?
Create a package called service. . Put it inside. That’s it.