in my application I need a possibility to spawn a web browser with a given URL (experimenting with S60 3rd). I followed the sample available at
It works more or less OK (given the SwEvent capability).
The single problem I've encountered was actually described on the page linked above:
"Note: If the browser is currently in the process of loading an URL and an external application tries to open another one, the error "Unable to retrieve" is shown and the new URL is not loaded."
This "feature" is basically unacceptable for my application - the message itself is confusing enough for the end-user. And I can't expect the browser to be idle when I want to open the HTTP URL.
Q: Is there any way to avoid/workaround this problem? I've tried using
TApaTask::SwitchOpenFile(...); instead of
TApaTask::SendMessage( TUid::Uid( 0 ), *urlPrependedWith4);
but it doesn't seem to work at all (no effect, no error, why?).
Any help/hint/pointer highly appreciated. At this point I'm not sure if I will be able to use embedded browser with Browser Control API - perhaps I'll need to support S60 2nd, it's not yet decided.