×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2006
    Location
    London
    Posts
    22

    Series60 v3 (Nokia N80) browser issue

    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.

  2. #2
    Registered User
    Join Date
    Jan 2006
    Posts
    279

    Re: Series60 v3 (Nokia N80) browser issue

    May be I am wrong, but shouldn't Uid should be KUidApaMessageSwitchOpenFileValue.
    Look what the sdk says:
    "The UID identifying the message. By default, the UI framework recognizes only two messages, KUidApaMessageSwitchOpenFileValue and KUidApaMessageSwitchCreateFileValue. "

  3. #3
    Registered User
    Join Date
    Jun 2006
    Location
    London
    Posts
    22

    Re: Series60 v3 (Nokia N80) browser issue

    Just figured out that TApaTask::SendMessage needs SwEvent capability. It works like a charm now.

    and yeah, TUid::Null() will do.

    thanks.

Similar Threads

  1. Replies: 0
    Last Post: 1970-01-01, 02:00
  2. Replies: 0
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×