Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

MBrCtlLinkResolver interface of Browser Control API does not work on S60 5th Edition (Known Issue)

From Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Nokia 5800 XpressMusic
Platform(s): S60 5th Edition
S60 5th Edition
Keywords: MBrCtlLinkResolver, ResolveLinkL, ResolveEmbeddedLinkL
Created: User:Technical writer 1 (12 May 2009)
Last edited: hamishwillee (01 Aug 2012)


The MBrCtlLinkResolver interface of the Browser Control API provides a callback mechanism for receiving the content of an embedded link or the content of a user-initiated load request. However, in S60 5th Edition devices the functions of this interface are not invoked when the links on an HTML page are clicked.

How to reproduce

1) Load any HTML page with links using the Browser Control API. You can use the standard Browser Control example available in the SDK.
2) Click on any of the links on the displayed HTML page.

Expected behaviour: The callback functions MBrCtlLinkResolver::ResolveLinkL() and MBrCtlLinkResolver::ResolveEmbeddedLinkL() must be invoked on clicking the links.

Actual behaviour: The callback functions are not invoked and the page is not loaded.


When creating the Browser Control instance, pass the entire screen area to the CreateBrowserControlL function.


 void CBrCtlSampleAppContainer::ConstructL(const TRect& aRect)
iBrCtlInterface = CreateBrowserControlL(
aRect, // pass the entire screen area.

Note: The Browser Control instance must be initiated with ECapabilityClientNotifyURL and ECapabilityClientResolveEmbeddedURL capabilities to enable the callback interface.

This page was last modified on 1 August 2012, at 04:40.
61 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.