Launch another app or website from NSB app

I have a phonegapped APP and one of the functions I want is to be able to launch other apps and/or websites from within my app. I have used the examples below, they work great but they don’t launch a new app/or website but instead replace as the running app. I want my app to continue to run in the background so I can switch back to it.

location.href = “http://news.google.com
document.location.href = “tel:+1-800-555-1234”

For URLS to launch in another browser this works

navigator.app.loadUrl(sLaunchURL2, { openExternal:True });

but you need

<plugin name="cordova-plugin-inappbrowser" source="npm" /

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.