×
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)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: 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
S60 3rd Edition (initial release)
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/"));
This page was last modified on 19 June 2012, at 04:52.
80 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×