Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 09:27, 4 March 2008.

KIS000355 - Browser Control interface stops working after delete/reconstruct

From Forum Nokia Wiki


Browser Control interface stops working after delete/reconstruct
KIS000355
Overview
An instance of the Browser Control interface class does not work properly after it has been deleted and reconstructed.
Reported against
S60 3rd Edition
Date identified
July 7, 2006, updated March 4, 2008
Symptoms
-
Detailed description
When an instance of the Browser Control interface (CBrCtlInterface) is constructed (see CBrCtlInterface::CreateBrowserControlL()), the interface will remain functional until the end of its life cycle. However, if the object is deleted and another one is created in the same session, the Browser Control API stops working. No errors are returned, but Web content will not be rendered onto the parent control anymore.
How to reproduce
This issue can be reproduced with the BrCtlSampleApp example application from the S60 3rd Edition SDK. The example application deletes and reconstructs the CBrCtlInterface object for each test case (whenever the capabilities for browser control are changed).
Solution
Add the following line

iBrCtlInterface->ActivateL();
after every CreateBrowserControlL() function call.

Related Discussions
Thread Thread Starter Forum Replies Last Post
Voice Recorder anoopd Symbian Media (Graphics & Sounds) 19 2007-06-06 13:07
accessing a nokia 12 device kenny2304 Nokia M2M 1 2004-04-03 17:36
Problem in shifting view ash_21 General Symbian C++ 26 2007-09-11 05:52
HOw to hide user interface TrungThanhMtad Symbian User Interface 1 2005-10-28 05:14
Interface contol document 5110 henkbr PC Suite API and PC Connectivity SDK 2 2003-03-06 15:02
 
Powered by MediaWiki