I'd like to show two different activities at the same time on the screen. I was under the impression that one may achieve it using ActivityGroup
. Is that so?
UPDATE
I tried it this way:
layout = (ListView) findViewById(R.id.wrapper_layout);
LocalActivityManager mgr = getLocalActivityManager();
Intent intent = new Intent(this, BenchMarker.class);
Window w = mgr.startActivity("BenchMarkerA", intent);
View wd = w != null ? w.getDecorView() : null;
if(wd != null) {
layout.addView(wd);
}
But got a NullPointerException
thrown by ActivityThread.performLaunchActivity()
Yes, I can. I'll write the solution later these days.
UPDATE
Here's how to do it.
First, you'd need a suitable layout, say res/layout/multiview.xml:
And in your main activity that will play the role of a launcher: