Android的:如何fork一个新的进程 [英] Android: How to fork a new process

查看:707
本文介绍了Android的:如何fork一个新的进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

欲在同一DalvikVM运行两个进程。这意味着,我要运行第一个应用程序,然后,这个应用程序将启动第二个应用程序。我想,这两个应用程序,然后在同一个DalvikVM运行。我认为这是可能的,如果第一个应用程序叉的工艺为第二应用程序。但我不确定我怎样才能做到这一点。 谢谢

解决方案
  

欲在同一DalvikVM运行两个进程。

根据定义,那是不可能的。

  

这意味着,我要运行第一个应用程序,然后,这个应用程序将启动第二个应用程序。我想,这两个应用程序,然后在同一个DalvikVM运行。

根据定义,那是不可能的。

  

我认为这是可能的,如果第一个应用程序叉的工艺为第二个应用程序。

没有。

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. But I´m not sure how can I do that. Thanks

解决方案

I want to run two processes in the same DalvikVM.

By definition, that is impossible.

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.

By definition, that is impossible.

I think it is possible if the first app forks an process for the second app.

No.

这篇关于Android的:如何fork一个新的进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆