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:42, 5 May 2008.

Favourites Engine API只在缺省浏览器上工作

From Forum Nokia Wiki

KIS000576


  • 开发伙伴平台:

S60 3rd Edition


  • 详细描述

在S60第三版中缺省的浏览器为内建的“服务”程序,Favourites API只能作用于它。而“网络”程序是做为额外应用存在的,使用Favourites Engine增加的书签无法显示在其中。


  • 解决方案

Favourites Engine API在S60第三版FP1及后继版本工作完好,这时浏览器合二为一了。但是在S60第三版上也有一个解决方案,我们可以在地址url前加上前缀oss,以便将书签增加到网络浏览器。


可以按照如下代码增加书签:

CFavouritesItem* item =  CFavouritesItem::NewLC();
 
 item->SetNameL(_L("ossGoogle UK"));
 
 item->SetParentFolder(KFavouritesRootUid);
 
 item->SetType(CFavouritesItem::EItem);
 
 item->SetUrlL(_L("osshttp://www.google.co.uk/"));
Related Discussions
Thread Thread Starter Forum Replies Last Post
saving Series60 video kustom Symbian Tools & SDKs 0 2003-12-30 13:20
HTTP post file problem lucca99 Symbian Networking & Messaging 16 2008-04-30 10:20
Lauching the application on the arrival of a message.URGENT! Priju Jacob Paul General Symbian C++ 4 2006-04-20 05:44
Symbian OS api guide flipflop82 General Symbian C++ 2 2005-04-15 13:45
http help!? zwgoal General Symbian C++ 1 2005-12-20 12:25
 
Powered by MediaWiki