Browser Control API query Is it Possible ?
| Wed, 2006-12-27 13:50 | |
|
|
Hi all
I am using the browser control API to load web pages into my application from a http server. My question is can I filter out some data from that HTML page that I receive using the Browser control API and then display it in the browser of my application ? Is it possible using the Browser Control API or I have to use some other HTTP client to do it ? Girish |






Forum posts: 723
I don't think it's possible with the Browser Control API what you're looking for. You know, the API expects a URL from you and download everything - it's its sole responsibility to handle both downloading AND rendering. I'm not aware of any APIs that makes it possible to have any influence on this filtering method you're looking for.
Tote
Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/
Forum posts: 131
Forum posts: 723
Tote
Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/
Forum posts: 78
Other problem is that if we open the page in the browser again and send some data say like the waywhen we create a yahoo or a mail account then control goes back to the browser api, which then send the data back to the listening server and its then redirects you to some other page (which again has to be filtered )
Forum posts: 723
- TBrCtlCapabilities::ECapabilityClientResolveEmbeddedURL and TBrCtlCapabilities::ECapabilityClientNotifyURL ==> maybe you could have stronger influence on how Browser Control downloads files (embedded or not),
- CBrCtlInterface::SetSelfDownloadContentTypesL ==> if you want BrCtl not to consume html content itself, then you might want to change this behavior,
- MBrCtlLoadEventObserver and MBrCtlDataLoadConsumer mixins ==> you might want to be well-informed on what is happening inside the Browser Control.
Let me know what you could figure out based on above mentioned information!
Tote
Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/
Forum posts: 723
Tote
Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/
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 wrong?
iLmBrCtlInterface = CreateBrowserControlL( this,
rect,
TBrCtlDefs::ECapabilityLaunchViewer | TBrCtlDefs::ECapabilityLoadHttpFw,
iCommandBase,
NULL,
NULL,
NULL,
NULL,
NULL);
}
_LIT(KUrl, "http://www.google.com");
iLmBrCtlInterface->LoadUrlL( KUrl );
Thanks in Advacne,
Raj
Forum posts: 85
Hi yerramraju,
you have to activate browser control before loading web page:
Bye, Luca