
是否有任何注册过程用于创建谷歌或任何其他注册站点的守护程序?
我们正在制作一个在后台运行的警报应用程序.我们可以创建守护进程还是提供其他方法?
@R_301_6120@:
它被称为“Service”:
总结an application component representing either an application’s desire to perform a longer-running operation while not interacting with the user or to supply functionality for other applications to use. Each service class must have a corresponding 07001 declaration in its package’s
AndroIDManifest.xml. Services can be started with 07002 and 07003.Note that services, like other application objects, run in the main thread of their hosting process. This means that, if your service is going to do any cpu intensive (such as MP3 playback) or blocking (such as networking) operations, it should spawn its own thread in which to do that work…
以上是内存溢出为你收集整理的Android中的守护进程全部内容,希望文章能够帮你解决Android中的守护进程所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)