How many ways for an android service to communicate with other components within the same application -
in android, given specific service
, how many methods exist service
communicate other components (activity, content provider, receiver, other services)?
as far know, there @ least 7 methods:
- startservice
- aidl/bindservice
- sendbroadcast
- startactivity
- notification
- messenger mechanism
- ashmem
are there others?
thanks.
like gunar said, can use event bus.
the popular are:
the documentation it's self explanatory if need started let me know.
regards, ryan
Comments
Post a Comment