Phonegap Android App, open links within app?

孤街浪徒 提交于 2019-12-11 03:26:20

问题


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

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?

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

Thanks Paul


回答1:


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.



来源:https://stackoverflow.com/questions/7755275/phonegap-android-app-open-links-within-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!