I want to run many apps on the same emulator at the same time. Then get the i/o streams of these apps, and allow them to be controlled to through web browsers, or an applet.
Is it possible?
Basically, I want to build a similar service like Amazon that allows user to see apps running on emulator through browser. Now, if only one activity is shown on the screen at a time, I would need to create a emulator for every user. That wouldn’t be feasible. So I need a workaround. And if multiple apps could be run on emulator and their I/O could be programaticaly handled, it would solve the problem.
You can’t do what you want to do. In Android, you can run several applications at the same time, but only one at a time will be on the foreground (visible to the user). But yes, you can have several applications running in the background syncing, downloading data, logging stuff, etc.
For what you want, you might consider using live android project as it is a much lighter solution to run.