开发者

Two Processes exist in One Android Application. Really? [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

How can an Android application have more than one process?

It's painful for me to get the answer. Is it possible to have more than one processes in one Android application? Anyone could h开发者_StackOverflow社区elp me? Would you please give me an example? How could we implemente two processes in one Android application?

Thank you very much.


Yes, it is possible. For example look at the SERVICE class.

android:process = "String" The name of the process where the service is to run. 

This starts the service in separate process

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜