Unable to display the web content using Browser Control

Login to reply to this topic.
Tue, 2007-06-26 09:21
Joined: 2005-06-23
Forum posts: 21

This is how i am try to display the web content using Browser Control API's,
can anybody tell me where i am going wrong?

iLmBrCtlInterface = CreateBrowserControlL( this,
rect,
TBrCtlDefs::ECapabilityLaunchViewer | TBrCtlDefs::ECapabilityLoadHttpFw,
iCommandBase,
NULL,
NULL,
NULL,
NULL,
NULL);
}

_LIT(KUrl, "http://www.google.com");

iLmBrCtlInterface->LoadUrlL( KUrl );

it would be nice if someone can give me sample code.

Thanks in Advacne,
Raj


Sun, 2007-07-01 20:28
Joined: 2007-06-21
Forum posts: 82
Re: Unable to display the web content using Browser Control

Hi

Have a look at S60 Example app BrCtlSampleApp. It works perfectly fine.

Eye-wink

BR
G;p

Mon, 2007-07-23 15:48
Joined: 2006-10-17
Forum posts: 85
Re: Unable to display the web content using Browser Control

Hi yerramraju,

you have to activate browser control before loading web page:

iLmBrCtlInterface->ActivateL();

Bye, Luca

  • Login to reply to this topic.