【发布时间】:2012-10-22 05:55:01
【问题描述】:
我正在尝试在我的应用程序中使用 Childbrowser 插件。我的代码如下:
ChildBrowser.prototype.showWebPage = function(url, options) {
options = options || {
showLocationBar: true,
locationBarAlign: "top"
};
//Code Runs up to this point
cordova.exec(this._onEvent, this._onError, "ChildBrowser", "showWebPage", [url, options]);
};
代码的最后一行什么都不做。它没有给出任何错误,但没有显示网页。我使用的是 Android 2.3。
【问题讨论】:
-
这里也一样。不过在 4.x 下它确实可以正常工作。
标签: javascript android cordova phonegap-plugins childbrowser