Phonegap Android应用程序,在应用程序内打开链接? [英] Phonegap Android App, open links within app?

查看:99
本文介绍了Phonegap Android应用程序,在应用程序内打开链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在PhoneGap编译的HTML5应用程序中打开网址?

Is it possible to open a url within a PhoneGap compiled HTML5 app?

我们需要通过将网址发送到外部https网页来处理订单.我们想在我们的应用程序中打开此页面,而不是在手机的浏览器中打开该页面?

We need to process our orders by sending a url to an external https webpage. We would like to open this page within our app rather than externally in the phone's browser?

我知道Phonegap使用webview类,但不知道如何更改它以使URL在内部打开!

I know that Phonegap uses the webview class, but have no idea how to alter it to make URLs open internally!

谢谢 保罗

推荐答案

检出phonegap插件子浏览器: https://github.com/purplecabbage/phonegap-plugins/tree/master/Android/ChildBrowser 它使您可以使用其他网址打开第二个浏览器窗口.

checkout the phonegap plugin childbrowser: https://github.com/purplecabbage/phonegap-plugins/tree/master/Android/ChildBrowser It enables you to open a second browser window with the other url.

这篇关于Phonegap Android应用程序,在应用程序内打开链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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