×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    129

    about browser's bookmark

    I would like to add bookmark to browser in s60 3rd.Anyone can help me how to implement it?

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: about browser's bookmark

    Use the favourites API (RFavouritesDb)

  3. #3
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    129

    Re: about browser's bookmark

    _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

  4. #4
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: about browser's bookmark

    Where is the error occuring

  5. #5
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    129

    Re: about browser's bookmark

    User::LeaveIfError(favoris.Open(fSession,KBookmarkDbFile));

    error code is -28

  6. #6
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    129

    Re: about browser's bookmark

    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

  7. #7
    Registered User
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122

    Re: about browser's bookmark

    You'll need to Begin() a database transaction before you can Commit() it.

    Lauri

  8. #8
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    129

    Re: about browser's bookmark

    _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

  9. #9
    Regular Contributor
    Join Date
    Apr 2005
    Posts
    213

    Re: about browser's bookmark

    favorisItem->SetParentFolder(-1);
    favorisItem->SetType(CFavouritesItem::EItem);
    favorisItem->SetNameL(_L("HelloTest") );
    favorisItem->SetUrlL(_L("http://www.google.com"));

  10. #10
    Registered User
    Join Date
    Jul 2004
    Posts
    7

    Re: about browser's bookmark

    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?

  11. #11
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

  12. #12
    Registered User
    Join Date
    Jan 2007
    Posts
    1

    bookmark

    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?

  13. #13
    Regular Contributor
    Join Date
    Oct 2003
    Location
    Spain
    Posts
    329

    Re: about browser's bookmark

    Hi riussi,

    did you find a solution? I'm trying also do the same.

    Thanks in advance.

  14. #14
    Registered User
    Join Date
    Nov 2006
    Posts
    3

    Re: about browser's bookmark

    Quote Originally Posted by Paul.Todd
    This issue seems to extend beyond E Series devices. At least N73 and N80 also.

    Is there still no way to retrieve bookmarks made in the "Web" browser?

  15. #15
    Regular Contributor
    Join Date
    Oct 2003
    Location
    Spain
    Posts
    329

    Re: about browser's bookmark

    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

Similar Threads

  1. 'Bookmark has no address' - failing web connection
    By Ujjwal Bhaskar in forum General Development Questions
    Replies: 1
    Last Post: 2005-08-19, 09:45
  2. WAP Bookmark
    By ashrafcm in forum Smart Messaging
    Replies: 1
    Last Post: 2002-12-17, 08:51
  3. 7650 browser setting and bookmark setting via OTA
    By hsinyee in forum Smart Messaging
    Replies: 3
    Last Post: 2002-12-13, 09:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×