Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚得到了例外
BroadcastReceiver 组件不允许绑定到服务。
我在网上一无所获,所以我想问是否有人可以提供一个实际上能够绑定到服务的组件列表,因为我目前只知道Activities.
Activities
比如,服务可以相互绑定吗?
可以绑定服务的组件:
Application, Activity, Service,ContentProvider
Application
Activity
Service
ContentProvider
无法绑定服务的组件:
BroascastReceiver