Discussion Board

Results 1 to 13 of 13
  1. #1
    Regular Contributor sunitha.m13's Avatar
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454
    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 shafali gupta's Avatar
    Join Date
    Nov 2004
    Posts
    1,009
    Can you paste your code how you are deleting a browser instance.
    Regards,
    Shafali

  3. #3
    Regular Contributor sunitha.m13's Avatar
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454
    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 shafali gupta's Avatar
    Join Date
    Nov 2004
    Posts
    1,009
    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 sunitha.m13's Avatar
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454
    I have tried by commenting delete iBrCtlSampleAppLoadEventObserver;

    but still its not working....

  6. #6
    Super Contributor shafali gupta's Avatar
    Join Date
    Nov 2004
    Posts
    1,009
    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 shafali gupta's Avatar
    Join Date
    Nov 2004
    Posts
    1,009
    Can u debug on which line it is panicking
    Regards,
    Shafali

  8. #8
    Regular Contributor sunitha.m13's Avatar
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454
    Panic Kern-Exec 3 at the line delete iBrCtlInterface;

  9. #9
    Super Contributor shafali gupta's Avatar
    Join Date
    Nov 2004
    Posts
    1,009
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    27,743
    You can find a series of known issues if you search for browser control in the Wiki.

  11. #11
    Registered User mateen_maldar's Avatar
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,063
    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 sunitha.m13's Avatar
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454
    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 sunitha.m13's Avatar
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454
    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. Problem in launching web browser in S60 3rd Edition
    By sahidul in forum Symbian C++
    Replies: 5
    Last Post: 2009-11-23, 16:28
  2. Open Browser in N95
    By whoisstan in forum Python
    Replies: 22
    Last Post: 2008-10-16, 03:46
  3. Browser plug-in development
    By pskreddy in forum Symbian C++
    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
  •  
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