This question is locked. New answers and comments are not allowed.
I am developing a kendo mobile cordova/phonegap application using Telerik AppBuilder mainly for Android right now. My native Android build is getting launched from a browser using a custom Android Intent and then I would like it to return focus to the browser that launched it once native processing is over. I am able to get the native WebIntent Android Plugin for Cordova 3.X By Boris Smus to launch my web application in the Android Chrome browser but it opens a new tab each time I transfer back to my web app from the native app. I am seeing some info on EXTRA_APPLICATION_ID and EXTRA_CREATE_NEW_TAB but I am not able to find much on how to use them.
Does anyone know how I can launch a link in an existing tab or possibly the exact same tab that the native Android app was launched from?
Here is the javascript code I am using to launch the web link in the browser.
window.plugins.webintent.startActivity({
action: window.plugins.webintent.ACTION_VIEW,
url: 'http://www.telerik.com'},
function() {},
function() {alert('Failed to open URL via Android Intent')}
);
Does anyone know how I can launch a link in an existing tab or possibly the exact same tab that the native Android app was launched from?
Here is the javascript code I am using to launch the web link in the browser.
window.plugins.webintent.startActivity({
action: window.plugins.webintent.ACTION_VIEW,
url: 'http://www.telerik.com'},
function() {},
function() {alert('Failed to open URL via Android Intent')}
);