×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    339

    how to display contact's saved photo as listbox icon

    The link provides how to fetch contact's saved photo. I want to use saved photo as a listbox icon. Which steps I need to follow for that purpose? In which image format contact's photo is retrieved?

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,142

    Re: how to display contact's saved photo as listbox icon

    I would suppose the image is JPG formatted image buffer. Thus you would need to use CImageDecoder:ataNewL() to get it to CFBsBitmap, then you would need to use the bitmap as the image part when making CGulIcon. And add the resulted icon to listboxes icon array. And then use the index for the icon in the text for the listbox line.

  3. #3
    Registered User
    Join Date
    Dec 2009
    Posts
    339

    Re: how to display contact's saved photo as listbox icon

    Quote Originally Posted by symbianyucca View Post
    I would suppose the image is JPG formatted image buffer. Thus you would need to use CImageDecoder:ataNewL() to get it to CFBsBitmap, then you would need to use the bitmap as the image part when making CGulIcon. And add the resulted icon to listboxes icon array. And then use the index for the icon in the text for the listbox line.
    Thanks a lot. I will follow your steps.

Similar Threads

  1. how to read contact's saved image?
    By slinx in forum Symbian C++
    Replies: 1
    Last Post: 2012-11-22, 07:01
  2. how to get all contacts numbers saved under one contact?
    By devesh_symbian in forum Symbian C++
    Replies: 5
    Last Post: 2011-12-31, 09:04
  3. Problem to display the PIM Contact -> photo
    By sehtasham in forum Mobile Java General
    Replies: 4
    Last Post: 2011-02-10, 21:19
  4. Replies: 1
    Last Post: 2009-06-05, 11:32
  5. SVG icon can't display in Listbox on 3rd
    By iamphilip in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-04-30, 04: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
  •