Hello,
I'm able to launch the default browser from an app on Series 60 v1/v2 based phones. But on Series60 v3, it seems to be behaving strange, well I don't know if this is something to do with Series60 v3, but this is what I observe on Nokia N80. If the browser is not already started, then launching the browser using RApaLsSession works fine, but if the browser is already started, then passing the URL is not working.
I use this code to pass the URL to the browser.
TApaTask taskBrowser = taskList.FindApp(idBrowserApp);
if(taskBrowser.Exists())
{
(void)taskBrowser.BringToForeground();
(void)taskBrowser.SendMessage(TUid::Null(), *pUrl8bit); // Uid is not used.
}
else
{
// This part works fine
}
Without the "BringToForeground()", the browser was not even coming to foreground. Anyway even with this call, the browser just comes to foreground and it does not connect (doesnt seem to launching URL). The same code works fine on older Series60 phones.
Has anyone observed this before ? any quick thoughts ?
thanks.

Reply With Quote

