×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    17

    Question How can i append a bookmark into a favourite folder of the browser?

    I try to append a bookmark into the browser use these codes:

    RFavouritesSession iSession;
    User::LeaveIfError(iSession.Connect());
    CleanupClosePushL(iSession);

    RFavouritesDb db;
    // KBrowserBookmarks is picked up from the header
    User::LeaveIfError(db.Open(iSession, KBrowserBookmarks));
    CleanupClosePushL(db);


    CFavouritesItem* item = CFavouritesItem::NewLC();
    item->SetNameL(_L("Google UK"));
    item->SetParentFolder(KFavouritesRootUid );
    //item->SetContextId(KFavouritesApplicationContextId);
    item->SetType(CFavouritesItem::EItem);
    item->SetUrlL(_L("http://www.google.co.uk/"));

    User::LeaveIfError(db.Add(*item, ETrue));


    But i try to set ParentFolder to another unique id like 1,2,3 but it doesn't work. Actually, I want to append a bookmark into the App. Download folder or Image Download folder of browser. But Only KFavouritesRootUid works. Wish some one can help me. Thank you.

  2. #2
    Registered User
    Join Date
    Nov 2008
    Posts
    75

    Re: How can i append a bookmark into a favourite folder of the browser?

    can anyone give some idea?

  3. #3
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: How can i append a bookmark into a favourite folder of the browser?

    Quote Originally Posted by sunlove407 View Post
    can anyone give some idea?
    try searching in wiki if you just want to add bookmark into a browser?

Similar Threads

  1. View system folder using Nokia Phone Browser??
    By giwrgos_ath in forum PC Suite API and PC Connectivity SDK
    Replies: 7
    Last Post: 2009-08-18, 15:00
  2. any 'sys' folder browser for s60 3rd ???
    By ibraheemJazba in forum Symbian
    Replies: 17
    Last Post: 2007-02-21, 15:37
  3. KHTML Browser bug?
    By presentTech in forum Symbian
    Replies: 2
    Last Post: 2006-09-07, 21:15
  4. 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
  •  
×