语言

Menu
Sites
Language
Browser control

Hi,

How can i monitor changes of url in open browser from a web application?

Launch browser:

var target = "http://www.example.com";
var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view", target);
tizen.application.launchAppControl(appControl, null, 
    function() { console.log("browser opened"); },
    function(e) { console.log("browser error: " + e.message); });

but it is not clear what next. How to close the browser when url will be 'http://google.com'? Documentation is silent =(.

Thanks.

编辑者为: Maxim Khomenko 05 11月, 2013

响应

1 回复
Alex Dem

Hi
In described case you launch browser (another app with another App Id) with desired url.
You are unable to control transitions between pages in browser from your locally stored Web application.
Alexey.