Android的服务非常好示例应用程序
有一个很好的示例应用程序或教程创建的Android 服务
的背景下运行?
Is there a good sample application or tutorial for creating android Service
that run in the background?
好了,我不知道任何除了我自己的应用程序。但是,这是与所有的额外code,用它并不能作为范例,这样的实际应用。
Well, I don't know any apart from my own application. But that is real applications with all the extra code that comes with it and not sample as such.
如果你仍然想有一个去,你我建议你看 Service_Intend 和 Service_Connection 的 Calculator_Activity.java 和 Calculator_Thread 和文件夹的 Calculator_Service.java 。这应该给你一些想法。
If you still want to have a go you I suggest you look for Service_Intend and Service_Connection in Calculator_Activity.java and for Calculator_Thread and Binder in Calculator_Service.java. That should give you some idea.