I would like to add bookmark to browser in s60 3rd.Anyone can help me how to implement it?
I would like to add bookmark to browser in s60 3rd.Anyone can help me how to implement it?
Use the favourites API (RFavouritesDb)
_LIT( KBookmarkDbFile,"c:\\Favourites\\BrowserBookmarks\\Favourites.db");
RFavouritesDb favoris;
RFavouritesSession fSession;
User::LeaveIfError(fSession.Connect());
User::LeaveIfError(favoris.Open(fSession,KBookmarkDbFile));
CFavouritesItem *favorisItem = CFavouritesItem::NewLC();
favorisItem->SetType(CFavouritesItem::EItem);
favorisItem->SetNameL(_L("Test") );
favorisItem->SetUrlL(_L("http://www.google.com"));
favoris.Add(*favorisItem, ETrue);
favoris.Commit();
CleanupStack::PopAndDestroy();
my code is here
but i can not working
error code is KErrBadName
please help me
User::LeaveIfError(favoris.Open(fSession,KBookmarkDbFile));
error code is -28
i am solution these problem when i change the KBookmarkDbFile.
now i having a new problem
the error appear e appearing at
favoris.Commit();
the error code -291
You'll need to Begin() a database transaction before you can Commit() it.
Lauri
_LIT( KBookmarkDbFile,"browserbookmarks");
RFavouritesDb favoris;
RFavouritesSession fSession;
//TFavouritesWapAp Faccess;
//Faccess.SetDefault();
User::LeaveIfError(fSession.Connect());
User::LeaveIfError(favoris.Open(fSession,KBookmarkDbFile));
CFavouritesItem *favorisItem = CFavouritesItem::NewLC();
//favoris.Begin(ETrue);
favorisItem->SetType(CFavouritesItem::EItem);
favorisItem->SetNameL(_L("HelloTest") );
favorisItem->SetUrlL(_L("http://www.google.com"));
//favorisItem->SetWapAp(Faccess);
favoris.Add(*favorisItem, ETrue);
//favoris.Commit();
fSession.Close();
CleanupStack::PopAndDestroy();
After running the application,it have no responding.
I can't find error.
please tell me what's wrong with me
favorisItem->SetParentFolder(-1);
favorisItem->SetType(CFavouritesItem::EItem);
favorisItem->SetNameL(_L("HelloTest") );
favorisItem->SetUrlL(_L("http://www.google.com"));
How can I add a bookmark to the new Browser NG on the 3rd edition devices? With these examples I can add bookmarks allright but they only appear on the old browser which is now called Services. Is it just a matter of locating the correct place of the browser ng bookmarks or do I need to do more?
I want to know how to send bookmark on mobile by GSM modem using AT command via com port on nokia mobiles ?
I can send it when it received it look like configuration message and not able to open it.
Which port number should be used? How?
Hi riussi,
did you find a solution? I'm trying also do the same.
Thanks in advance.
This issue seems to extend beyond E Series devices. At least N73 and N80 also.Originally Posted by Paul.Todd
Is there still no way to retrieve bookmarks made in the "Web" browser?
Hi
it's also documented on tech lib http://www.forum.nokia.com/document/...er_for_S60.htm
It seems that there is no workaround...
Bye