Namespaces
Variants
Actions

HandleBrowserLoadEventL提供了错误的大小信息

Jump to: navigation, search
Article Metadata

Tested with
Devices(s): Nokia N95, Nokia E90 Communicator

Compatibility
Platform(s): S60 3rd Edition, S60 3rd Edition FP1

Article
Keywords: MBrCtlLoadEventObserver
Translated:
By hoolee
Last edited: hamishwillee (30 May 2013)


详细描述

为了监控浏览器控件的加载进程,主程序需要完成MBrCtlLoadEventObserver接口和它的HandleBrowserLoadEventL功能。


HandleBrowserLoadEventL方法的第二个参数为TUint aSize它包括了这个事件的大小信息。但这个大小信息是错误的。如果使用这个信息去估算收到整个数据的大小将会导致错误的结果。


所以使用时请忽视第二个参数的给出的错误信息,HandleBrowserLoadEventL仍然可以用来检测浏览器控件的相关事件。


解决方案

事件为TBrCtlDefs:: EEventMoreUrlContentArrived 时返回正确值

This page was last modified on 30 May 2013, at 05:45.
118 page views in the last 30 days.
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