-1

This is an odd question, but is there any way to run two separate applications inside one app? So, for example, run another application in a view inside of another app? Is this possible? If so, how is this done?

Thanks in advance!

portfoliobuilder
  • 6,488
  • 10
  • 63
  • 119

2 Answers2

3

This may be done although it may go against the recommended way of doing things in Android

Android launch app inside view

How to create android app with app widget in single application

An easier alternative may be to launch an intent with the package address:

Intent i = new Intent(Intent.ACTION_MAIN);
i.addCategory(Intent.CATEGORY_LAUNCHER);
i.setPackage("com.otherapp.package");
startActivity(i);

Launching Android app, within an app?

Launch an application from another application on Android

However, please note that, technically, the other app is still in its own process although you it appears to function within the original app.

Launch another application INSIDE an application in Android

Community
  • 1
  • 1
AmmarCSE
  • 28,122
  • 5
  • 36
  • 49
1

WeChat has hundreds of Mini-Programs can only open via WeChat apps. But that mini-programs is web-based view. Here the official video https://www.youtube.com/watch?v=OKcdUT3ZSwA .

yanto
  • 26
  • 1