×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Mar 2008
    Location
    Odessa
    Posts
    7

    How to add svg icon to project?

    I need that my project have my own icon. When i try simply replace svg file in gfx folder new icon isn't appear neither in phone, nor in the emulator. Instead my program have an old icon with blue box. What shoud i do to replace icons?

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

    Re: How to add svg icon to project?

    Search for icon in the Wiki. According to your description you probably use S60 2nd edition, thus you need an AIF (application information file), currently the 3rd hit.
    You can also search for aif in the SDK Help, in fact examples in S[eries]60Ex usually have their own icon (if you can see a folder called aif in the example, it has)

  3. #3
    Registered User
    Join Date
    Mar 2008
    Location
    Odessa
    Posts
    7

    Re: How to add svg icon to project?

    No, i have an SDK 3rd edition. Thnaks, i'll search in wiki

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,686

    Re: How to add svg icon to project?

    Ooops, I have missed the word 'svg' in your original post, sorry.
    In case of S60 3rd edition SDK-s icons are usually produced via a separate make ( .mk ) file. You can check them in any example of the S60Ex folder:
    - usually you will find Icons_scalable_dc.mk in the group folder (and it is referred by the bld.inf file)
    - it refers to a .svg file in the gfx folder - that is the one you can try simply replacing (if you already have one)
    - and the icons+captions are defined in data\x.rss (LOCALISABLE_APP_INFO) and data\x_reg.rss

  5. #5
    Registered User
    Join Date
    Mar 2008
    Location
    Odessa
    Posts
    7

    Re: How to add svg icon to project?

    I understead all of it and have already seen the *.mk file. But my problem is that in gfx folder is my icon - and in the emulator (and phone) is old icon. I tried to rebuild the project many times with different build settings, but it doesn't help.

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: How to add svg icon to project?

    Locate your *.mif file under %EPOCROOT%epoc32\release\winscw\udeb and delete it. Then build the project again.

    If still the old icon is visible try posting a screenshot with it.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  7. #7
    Registered User
    Join Date
    Mar 2008
    Location
    Odessa
    Posts
    7

    Re: How to add svg icon to project?

    I did it. The icon completly disapeared. only pussle left. It seems to me, the IDE does not see the *.mk file after first application building. (If i replace the icon in gfx folder BEFORE the first building my application have this icon).
    Last edited by PersonaPrima; 2008-06-22 at 14:08.

  8. #8
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: How to add svg icon to project?

    Quote Originally Posted by PersonaPrima View Post
    I did it. The icon completly disapeared. only pussle left. It seems to me, the IDE does not see the *.mk file after first application building. (If i replace the icon in gfx folder BEFORE the first building my application have this icon).
    Have you looked into this Wiki article: How to create application icon(SVG) in S60 3rd edition ?

    Kiran.
    Nokia Developer Wiki Moderation team

  9. #9
    Registered User
    Join Date
    Mar 2008
    Location
    Odessa
    Posts
    7

    Re: How to add svg icon to project?

    Quote Originally Posted by kiran10182 View Post
    Have you looked into this Wiki article:
    yes.

    Thanks for all. I have found a solution. It was necessary to delete each time the created mif files. Sorry for my haste with creation a new thread
    Last edited by PersonaPrima; 2008-06-22 at 19:32.

Similar Threads

  1. Grid app is crashing... need urgent help...
    By shankha in forum Symbian
    Replies: 5
    Last Post: 2010-10-19, 12:07
  2. adding icon to my project
    By skela in forum Streaming and Video
    Replies: 0
    Last Post: 2008-05-26, 14:29
  3. CreateIconL() call crashes for SVG icon
    By Rajani_sp in forum Symbian User Interface
    Replies: 16
    Last Post: 2007-11-05, 09:39
  4. How to add source file which is out of project root
    By zdenko in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2007-09-04, 09:34
  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
  •  
×