开发者

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

开发者 https://www.devze.com 2023-03-18 20:43 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: How can an Android application have more than one process?
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

精彩评论

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