I'm developing an Flash Lite 3.0 application to Nokia 5800 and Nokia N97 (both are Symbian S60 5th edition).
The application is almost finished, but I have one major problem. The application needs to open multiple url's in the web browser. Everything works if the user doesn't have the browser already open, but when the browser is running in the background, the urls are not opening.
I have tried to search a solution to this problem, but I haven't been able find it. I have seen people with same problem, but no-one had the answer. Here is a list what I have tried to get it work.
1:
getURL("http://www.google.com/", "_blank");
Works like a charm if browser is not already open. If it is nothing happens. I have also tried with parameters like "_self" and "_top", but they don't have an effect.
2:
fscommand("launch", "BrowserNG.exe");
If the browser is not running this opens it with the default page.
If the browser is running this only brings it to foreground with current webpage leaving the app running in background.
3:
fscommand("launch", "BrowserNG.exe,http://www.google.com/");
This doesn't really do anything, it only makes a white screen appear for a moment and then it goes back to the app.
Apparently you can't pass any arguments to the browser this way.
4:
I even tried to use a KuneriLite's System plug-in with following results...
loadVariables("http://127.0.0.1:1001/Basic/system?klCommand=open&klApp=Browser&klArgs=http://www.google.com/", "");
This works like getURL. If browser is not running it opens with the desired page.
When the browser is in the background this doesn't do anything.
5:
Combination of these. For example I tried to use getURL and fscommand with the same time with no luck.
It would seem that the only solution is to ask user to close browser before opening a new url, but that's like the worst solution ever.
Has anyone been able to get this work with Flash Lite or is it impossible even with C++?




