【问题标题】:Is it possible to open the external browser from within a web page in StageWebView?是否可以从 StageWebView 中的网页内打开外部浏览器?
【发布时间】:2014-05-24 16:40:19
【问题描述】:

我正在使用 Adob​​e Air 4 构建一个 Android 应用程序。 是否可以从StageWebView 的网页中打开外部浏览器? (例如 Android 默认浏览器)

【问题讨论】:

    标签: android actionscript-3 air stagewebview


    【解决方案1】:

    如果我没记错的话,添加 target=_blank 会在 iOS 上打开当前的默认浏览器——可能在 android 上的工作方式相同。但我不是 100% 确定 :)

    【讨论】:

      【解决方案2】:

      不知道你为了什么目的打开外部浏览器,手机版,StageWebView总是用系统浏览器引擎加载html页面。在桌面上,它通过使用 StageWebView( true ) 来支持。请参考此链接,您可以找到解决方案。

      http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/StageWebView.html

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2011-06-27
        • 1970-01-01
        • 1970-01-01
        • 2012-05-27
        • 1970-01-01
        • 2015-11-23
        • 1970-01-01
        • 2012-10-16
        相关资源
        最近更新 更多