在主要活动将外部意向意向

由网友(百度里也搜不到姐)分享简介:我已经看到了一些使用的ActivityGroup嵌入多个Activites在单个视图的例子。在这些情况下,活动被装载是内部的当前应用。此外,它们似乎都接管整个视图。 我想用一个Intent为特定的MIME类型来启动外部活动。特别是,如果该设备已安装了PDF阅读器,我想启动一个活动来查看PDF文件。不过,我想它显示我的应...

我已经看到了一些使用的ActivityGroup嵌入多个Activites在单个视图的例子。在这些情况下,活动被装载是内部的当前应用。此外,它们似乎都接管整个视图。

我想用一个Intent为特定的MIME类型来启动外部活动。特别是,如果该设备已安装了PDF阅读器,我想启动一个活动来查看PDF文件。不过,我想它显示我的应用程序运行活动的视图中,让我的主要活动的页眉和页脚查看完整的。

是否有可能在我的应用程序运行里面查看加载外部活动?

解决方案   

是否有可能在我的应用程序运行里面查看加载外部活动?

没有,对不起,这是不可能的。

I have seen a number of examples of using an ActivityGroup to embed multiple Activites in a single view. In each of these cases, the Activities being loaded are internal to the current application. In addition, they all appear to take over the entire view.

教职工文体活动意向调查

I would like to start an external Activity using an Intent for a particular mime type. Specifically, if the device has a PDF viewer installed, I would like to start that Activity to view a PDF. However, I would like it to appear within the View of my running application Activity, keeping my main Activities header and footer Views intact.

Is it possible to load an external Activity within a View inside my running application?

解决方案

Is it possible to load an external Activity within a View inside my running application?

No, sorry, that is not possible.

阅读全文

相关推荐

最新文章