如何在我的应用程序内启动一个Android应用程序?(提供示例)

huangapple 未分类评论49阅读模式
英文:

How to start an Android application inside my application? (example provided)

问题

我找到了一些能够在它们自己的活动内运行已安装应用的启动器。(链接:https://play.google.com/store/apps/details?id=com.lwi.android.flapps)

这些启动器添加了它们自己的功能,如最大化、最小化等。我猜想它们在创建小部件(因为它们需要在应用上绘制的权限),并在其中运行。但是如何实现呢:)

您能否向我展示如何像这个应用程序一样,在我的自己的活动、小部件等内运行另一个安卓应用程序?

最好,
Kerg

英文:

I found some launchers that are able to run installed apps inside their own activity. ( https://play.google.com/store/apps/details?id=com.lwi.android.flapps )

This launcher adds their own functions like maximize, minimize etc. I guess they are creating widgets (because they need drawing over apps permission) and running inside them. But how 如何在我的应用程序内启动一个Android应用程序?(提供示例)

Can you show me how I can run another android application inside my own activity, widget etc. like this app did ?

Best,
Kerg

答案1

得分: 0

我认为以下的文档可以帮助你学习如何让你的应用与其他应用进行交互:https://developer.android.com/training/basics/intents

对你来说尤其有趣的部分是关于将用户发送到另一个应用的章节:https://developer.android.com/training/basics/intents/sending

英文:

I think the following documentation should help you out with learning how to get your app to interact with other apps: https://developer.android.com/training/basics/intents

Especially interesting to you would be the section on sending the user to another app: https://developer.android.com/training/basics/intents/sending

huangapple
  • 本文由 发表于 2020年5月30日 06:51:03
  • 转载请务必保留本文链接:https://java.coder-hub.com/62095690.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定