IFRAME for Android应用程序使用的PhoneGap不工作 [英] iframe for Android apps using Phonegap not working

查看:137
本文介绍了IFRAME for Android应用程序使用的PhoneGap不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 IFRAME 的问题。在所有浏览器包括Android设备它的正常工作。当使用PhoneGap的转换成Android应用程序它不工作。此外,它的出现整个屏幕。任何人都请建议。

I have an problem with iframe. It's working fine in all browsers included android devices a. when it converting into android app using phonegap it's not working. Also it's appearing whole screen. Anyone please suggest.

推荐答案

添加此code里面的 savedInstanceState 函数

Add This code inside of savedInstanceState function

    super.appView.setWebViewClient(new CordovaWebViewClient(this, super.appView) {
        @Override
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
            return false;
        }

也下方添加导入此code

also add this code below import

import android.webkit.WebView;

现在它的工作...:(((

Now it's working...:(:(:(

这篇关于IFRAME for Android应用程序使用的PhoneGap不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆