Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor ferranhalden's Avatar
    Join Date
    Jan 2004
    Posts
    128
    Hi guys,

    I am trying to implement an embedded web browser. Due to that, I am using the CBrCtlInterface class to creat a Browser client. The code that I am using is the following:

    ******CREATION**************

    CreateWindowL();
    SetRect(aRect);
    ActivateL();
    iCommandBase = TBrCtlDefs::ECommandIdBase;
    iBrCtlCapabilities = TBrCtlDefs::ECapabilityDisplayScrollBar |
    TBrCtlDefs::ECapabilityLoadHttpFw;
    TRect rect(Position(), Size());
    iBrCtlInterface = CreateBrowserControlL( this,rect,iBrCtlCapabilities,iCommandBase,NULL,NULL,NULL,NULL,NULL);


    *******LOADING URL***********

    iBrCtlInterface->LoadUrlL(aUrl);

    This code has been copied from the Browser Control Documentation from Nokia. However, once one webpage is loaded (_L("http://www.mystrands.com")), the application crashes with a panic USER 44.

    I wonder if any of you had experimented the same problem. I am a bit confuse because I am not deleting anything at all.

    Any clue?

    Thanks,

    Fernando

  2. #2
    Regular Contributor ferranhalden's Avatar
    Join Date
    Jan 2004
    Posts
    128
    I have found out that the problem was related to the url that I was requesting.

  3. #3
    Registered User Fredrik Eldh's Avatar
    Join Date
    Sep 2005
    Posts
    20
    Please elaborate.

  4. #4
    Registered User lappi84's Avatar
    Join Date
    Dec 2011
    Posts
    7
    Bringing up this old thread because I'm experiencing the exact same problem. All my application does is wait for the browser control to load the page and I'm sure I don't delete anything while this is in progress. The loading goes on for some time and then the application panics with USER 44. The page I'm experiencing this with is located here: http://go.rss.sina.com.cn/redirect.p...23815135.shtml. I have tested also with some other sites and so far this has happened only with the site linked here.

    For me this happens only if the application is being run on S60 3rd edition FP0 device. On a 5th edition device I have no issues. I don't know if this happens also later 3rd edition releases since I don't have any at hand for testing.
    Does anyone have any more info about this?

  5. #5
    Nokia Developer Expert Devnull's Avatar
    Join Date
    Sep 2011
    Posts
    381
    Does it happen without the redirection in the link?

    Unfortunately the fixes for the problem which exist in 5th edition devices may not be available for the Series 60 3rd edition FP0 device.

  6. #6
    Registered User lappi84's Avatar
    Join Date
    Dec 2011
    Posts
    7
    Yes, it happens also withouth the redirection.
    I'm not working actively on this issue anymore since we just decided to go for launching the default browser application instead of using embedded webview for displaying any content when such is needed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved