android acivity 和 service 通信

1,当然是最简单的Ibind对象(被动方式)

2,接口的回调(主动方式)

3,广播(当service需要同时和多个activity通信时,这种方法会很有用)

猜你喜欢

转载自348.iteye.com/blog/2243179