我想在同一个 DalvikVM 中运行两个进程。这意味着我想运行第一个应用程序,然后这个应用程序启动第二个应用程序。我希望这两个应用程序在同一个 DalvikVM 中运行。我认为如果第一个应用程序为第二个应用程序 fork 一个进程是可能的。但我不确定我该怎么做。 谢谢
最佳答案
I want to run two processes in the same DalvikVM.
根据定义,这是不可能的。
This means that I want to run a first app and then that this app starts the second app. And I want that this two apps are then running in the same DalvikVM.
根据定义,这是不可能的。
I think it is possible if the first app forks an process for the second app.
没有。
关于Android:如何 fork 一个新进程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8970342/