我应该使用远程或本地服务对于这种情况? [英] Should i use remote or local service for this scenario?
本文介绍了我应该使用远程或本地服务对于这种情况?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要建立某种形式的监听,
I need to build some kind of listener,
现在这个监听器假设运行diffrentz appz的activies
,
我想这个监听器作为将运行适当的活动服务,
now this listener suppose to run activies of diffrentz appz , i want this listener to be as a service that will run the appropriate activity,
我应该做它作为一个远程服务或本地服务(为此我需要一些程序来保存它 - 有意义吗?),将适合在什么
should i make it as a remote service or local service(for this i need some app to hold it - make sense?) what will fit in?
感谢,
射线。
推荐答案
我会建议运行的远程服务,因为它听起来像你在实施这一作为后台服务独立于任何单一的活动策划。
I would recommend running as a remote service as it sounds like you are planning on implementing this as a background service independent of any single activity.
这篇关于我应该使用远程或本地服务对于这种情况?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文