×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    49

    Thumbnail size ?

    Hi all,

    How can I programmatically figure the device's thumbnail size used for contact thumbnail pictures ?

    It seems that each device uses a slightly different size depending on its screen size and orientation.

    On E71 its 80x60 (width x height) pixels
    3.1 Emulator is 60x90 (width x height) pixels


    Anyone been there ?

    Thanks.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Thumbnail size ?

    You have already posted this question ~11 hours ago, http://discussion.forum.nokia.com/fo...d.php?t=202167
    Patience is a virtue, if someone knows the answer, you will get an answer.
    Otherwise since Symbian is open source (available on http://developer.symbian.org, the actual name is PhoneBook), you can check it for image resizing/drawing attempts, and if the sizes are available via some getter method.

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    49

    Re: Thumbnail size ?

    Sorry for double posting, I wasn't sure which forum to choose. Thanks for the reply.

  4. #4
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: Thumbnail size ?

    Hello,
    I have been there - and have found out that the size depends on your list. And, to make things fun, no getter is available that i know off.

    What I usually do is this: I generate a white bitmap, set it as icon, make a screenshot of the app running on the phone and then use GIMP to determine the icon size via the white area of the screenshot.
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Thumbnail size ?

    Quote Originally Posted by tamhanna View Post
    I have been there - and have found out that the size depends on your list.
    That is unlikely, the contact application does not show the thumbnails in the listbox, it has a separate floating control for that (which "replaces" - actually overdraws - the context pane icon in older S60 versions, and resides on the right side of the screen on S60 5th edition). It is a custom control, and it was really called something "floating" 3-4 years ago as I remember, though I have not checked it now in the open source code.

Similar Threads

  1. Contact thumbnail size ?
    By Daneel in forum Symbian
    Replies: 2
    Last Post: 2010-06-04, 17:12
  2. Weird Problem with find box Kern-Exec-3
    By sohilr in forum Symbian
    Replies: 7
    Last Post: 2007-12-05, 04:10
  3. KERN-EXEC 3 with CEikEdwin
    By acarrion in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-10-17, 14:43
  4. Audio Input Stream on N80
    By tkaihock in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2006-06-30, 09:15
  5. User break point error in Grid
    By ag24master in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-08-07, 08:20

Posting Permissions

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