78818

Phonegap Android App, open links within app?

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

Answer1:

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.

Recommend

  • why flask sqlalchemy model query does not get newest records?
  • container engine kubernetes and ssl
  • initiate a call by clicking button on ionic app
  • Back button handler in jQuery Mobile (Android) PhoneGap
  • PhoneGap build + jquerymobile: onclick on button does not work
  • Using SSL to connect to mySQL from PHP
  • iPhone Phonegap based app load External website made of componentone
  • Asks for AD credentials / “Connection Interrupted” on Postback
  • Phonegap iOS: Download image to Photo Library
  • WebView: webpage not available but I load it from an html string
  • Excel - import data from an online xls file daily
  • Notification.alert is not working in phonegap build 3.1.0
  • Vertical alignment of float:left div's
  • Is it really posible to close a PhoneGap App?
  • input type=“file” accept=“image/*” doesn't work in phone gap?
  • How to process binary stream in Wicket like Servlet?
  • Retrieving a contacts notes
  • Installing apk from within application in android
  • Why is OpenID Connect considered mobile friendly compared to SAML
  • Android - Call default browser with and redirect to a designated url
  • How to merge two Request in Laravel
  • Netezza Incremental load from Sql server using SSIS
  • Unique SMS sender id?
  • LNK1104: cannot open file 'kernel32.lib'
  • setContentView() is not enough to switch between layouts?
  • how to populate a SQLite database and use that database in phonegap?
  • what makes a request a new request in asp.net C#
  • System.InvalidCastException: Specified cast is not valid
  • Read a local file using javascript
  • How to delay loading a property with linq to sql external mapping?
  • RectangularRangeIndicator format like triangular using dojo
  • Apache 2.4 and php-fpm does not trigger apache http basic auth for php pages
  • Cross-Platform Protobuf Serialization
  • htaccess rewriting URLs with multiple forward slashes
  • Display Images one by one with next and previous functionality
  • Timeout for blocking function call, i.e., how to stop waiting for user input after X seconds?
  • Web-crawler for facebook in python
  • A cron job substitute?
  • Revoking OAuth Access Token Results in 404 Not Found
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass