Archived:Favourites Engine API only works with the default browser on S60 3rd Edition (Known Issue)
Bookmarks added using the Favourites Engine API will not be added to the Nokia Web Browser for S60.
Article Metadata
Compatibility
Article
Description
The Favourites API is specific to the built-in 'Services' browser which is the default browser in S60 3rd Edition. In S60 3rd Edition, the 'Web' browser is considered as an add-on application. The bookmarks added using the Favourites Engine are not shown in this browser.
Solution
Favourites Engine API works as expected from S60 3rd Edition, FP1 onwards, where the S60 Web Browser is the default browser. However, there is a workaround for S60 3rd Edition devices. It is possible to add the bookmark to the Web browser in S60 3rd Edition devices by prefixing the bookmark url with the prefix "oss".
To add the bookmark to the OSS browser in S60 3rd edition would be:
CFavouritesItem* item = CFavouritesItem::NewLC();
item->SetNameL(_L("ossGoogle UK"));
item->SetParentFolder(KFavouritesRootUid);
item->SetType(CFavouritesItem::EItem);
item->SetUrlL(_L("osshttp://www.google.co.uk/"));


(no comments yet)