[英]Android service- how to communicate with activities
I'm wondering which is the best way to communicate between a Service and an activity.. 我想知道哪种是在服务和活动之间进行通信的最佳方式。
Bye 再见
I've been running into pretty much the same problem. 我遇到了几乎相同的问题。 Take a look at my question , answers turned out extremely useful for me. 看我的问题 ,答案对我来说非常有用。
In fact I haven't directly used a service in the end but switched to the AlarmManager. 实际上,我最终并没有直接使用服务,而是切换到了AlarmManager。 Worked out as I initially wanted it to be. 按照我最初希望的那样进行锻炼。 Good luck 祝好运
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.