Namespaces
Variants
Actions
Revision as of 04:52, 19 June 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Favourites Engine API only works with the default browser on S60 3rd Edition (Known Issue)

Jump to: navigation, search
Archived.png
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Bookmarks added using the Favourites Engine API will not be added to the Nokia Web Browser for S60.

Article Metadata

Compatibility
Platform(s): S60 3rd Edition

Article
Created: User:Technical writer 1 (08 Feb 2007)
Last edited: hamishwillee (19 Jun 2012)

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/"));
209 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