This page was last modified 09:23, 30 April 2008.
KIS000576 - Favourites Engine API only works with the default browser
From Forum Nokia Wiki
Favourites Engine API does not work with Nokia Web Browser for S60
|
KIS000576
|
Overview
| Bookmarks added using the Favourites Engine API will not be added to the Nokia Web Browser for S60.
|
Category
| Symbian C++
|
Subcategory
| Applications & PIM, Browser
|
Reported against
| S60 3rd Edition
|
Date identified
| February 8, 2007; updated April 30, 2008
|
Symptoms
| -
|
Detailed 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.
|
How to reproduce
| -
|
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/"));
|