Reputation: 13
I want to start an app that is shown inside my app. At the moment I just start another app over mine with
Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage(app.getAppID());
startActivity(LaunchIntent);
That works good, but I'd like to let the user know, my app is still in the background. With a colored frame for instance. I thought of loading the new app inside a fragment like with iframes in HTML but could not find a way.
Any help is appreciated.
Upvotes: 0
Views: 530
Reputation: 6968
I think you are confusing applications with activities.
You can run a shared activity in your application but not the entire application. So this would greatly depend on what you are trying to do.
Upvotes: 0
Reputation: 82573
This is not possible on Android, sorry.
Each app runs in its own process, and there is no way to run one inside another like an iframe.
Upvotes: 2