×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Panic while deleting the Browser Instance

    Hi,
    I have tried creating the Browser instance in an application where switching between two views.
    view1 is for creating ListBox & view2 is for loading HTML page.

    In View2, softkeys are Options & Back. I have given control to switch to view1 (ActivateLocalView(EView1)) in EAknSoftKeyBack.

    here the problem is : its going to Panic mode if I press Back option.
    (Panic is coming while deleting the Browser Instance)

    Note: The same thing I have tried by creating ListBox1 in View1 & ListBox2 in View2, Back Option works fine !!

    Can anyone help me out....

    Thanks & Regards,
    Sunitha

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: Panic while deleting the Browser Instance

    Can you paste your code how you are deleting a browser instance.
    Regards,
    Shafali

  3. #3
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: Panic while deleting the Browser Instance

    if (iBrCtlInterface)
    {
    iBrCtlInterface->RemoveLoadEventObserver(iBrCtlSampleAppLoadEventObserver);
    delete iBrCtlInterface;
    }

    delete iBrCtlSampleAppLoadEventObserver;

    // we are required to release the font
    iFbsScrDev->ReleaseFont(iFont);

    // delete the screen device
    delete iFbsScrDev;

  4. #4
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: Panic while deleting the Browser Instance

    I hope you are getting panic on this line.

    delete iBrCtlSampleAppLoadEventObserver;

    Observer are just required to be removed not deletd.
    Regards,
    Shafali

  5. #5
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: Panic while deleting the Browser Instance

    I have tried by commenting delete iBrCtlSampleAppLoadEventObserver;

    but still its not working....

  6. #6
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: Panic while deleting the Browser Instance

    Can u debug on while line it is panicking
    Last edited by shafali gupta; 2009-09-09 at 07:55. Reason: Wrongly Posted twice.
    Regards,
    Shafali

  7. #7
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: Panic while deleting the Browser Instance

    Can u debug on which line it is panicking
    Regards,
    Shafali

  8. #8
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: Panic while deleting the Browser Instance

    Panic Kern-Exec 3 at the line delete iBrCtlInterface;

  9. #9
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: Panic while deleting the Browser Instance

    There could be many reasons of kern-exec3 , it happens because of unhandeled exception.

    Pls do check have you created the browser instance in right manner and all resource handles are free before deleting this.



    You can refer to this link for browser control:

    http://wiki.forum.nokia.com/index.ph...er_Control_API
    Regards,
    Shafali

  10. #10
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Panic while deleting the Browser Instance

    You can find a series of known issues if you search for browser control in the Wiki.

  11. #11
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: Panic while deleting the Browser Instance

    Hi,

    http://wiki.forum.nokia.com/index.ph...te/reconstruct its a known issue.

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  12. #12
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: Panic while deleting the Browser Instance

    Ya, I have followed the same method how in SDK has given and am sure that all the resource handlers have been freed before deleting the Browser instance.

    plz see this link, where they are talking about this issue.
    http://wiki.forum.nokia.com/index.ph...te/reconstruct

    I have tried calling iBrCtlInterface->ActivateL();
    after every CreateBrowserControlL() function call as they mentioned. But no effect....

  13. #13
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: Panic while deleting the Browser Instance

    Ok....Thanks for all the replies...

    Is there any other way to upload a html page ?

    I have used HtmlControl but usage of CSS file is limitage.

Similar Threads

  1. Replies: 5
    Last Post: 2009-11-23, 16:28
  2. Open Browser in N95
    By whoisstan in forum Symbian
    Replies: 22
    Last Post: 2008-10-16, 03:46
  3. Browser plug-in development
    By pskreddy in forum Symbian
    Replies: 4
    Last Post: 2008-08-28, 03:56
  4. Replies: 1
    Last Post: 2005-03-10, 11:59

Posting Permissions

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