×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    54

    Unhappy application icon

    hi,
    i m trying to change the application icon in series 60 2nd edition so i replace the bmp file from aif folder but now app is showing no icon and i m not able to open it from gui as it is not visible.
    please help me!!!

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

    Re: application icon

    You should propably re-generate the aif file, also see that you don't change its name. all and all, usually the app without aif file should show the default icon in the menu.

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    21

    Unhappy Re: application icon

    hi

    I am porting my application from s60 2nd fp3 to s60 3rd_MR.
    By refering S60_Platform_Porting_from_2nd_to_3rd_Edition_v1_1_en.pdf
    I did neccessary changes.

    But application icon was not getting reflected instead default is diplaying on emulator.

    my Icons_scalable_dc.mk as follows:

    ifeq (WINS,$(findstring WINS, $(PLATFORM)))
    ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\z
    else
    ZDIR=$(EPOCROOT)epoc32\data\z
    endif
    # ------------------------------------------------------------
    # Configuration for myapp
    # ------------------------------------------------------------
    TARGETDIR=$(ZDIR)\resource\apps
    HEADERDIR=$(EPOCROOT)epoc32\include
    ICONTARGETFILENAME=$(TARGETDIR)\URchODPIcon.mif
    HEADERFILENAME=$(HEADERDIR)\URchODPIcon.mbg

    do_nothing :
    @rem do_nothing

    MAKMAKE : do_nothing

    BLD : do_nothing

    CLEAN :
    if exist "$(ICONTARGETFILENAME)" @del $(ICONTARGETFILENAME)
    if exist "$(HEADERFILENAME)" @del $(HEADERFILENAME)
    if exist "$(TARGETDIR)\URchODPIcon.mbm" @del $(TARGETDIR)\URchODPIcon.mbm

    LIB : do_nothing

    CLEANLIB : do_nothing

    RESOURCE:
    @mifconv $(ICONTARGETFILENAME) /h$(HEADERFILENAME) \
    /c24 ..\gfx\qgn_menu_demo_cxt.bmp \
    /8 ..\gfx\qgn_menu_demo_cxt_mask.bmp

    FREEZE : do_nothing

    SAVESPACE : do_nothing

    RELEASABLES :
    @echo $(HEADERFILENAME)&& \
    @echo $(ICONTARGETFILENAME)

    FINAL : do_nothing


    --------
    And
    I added following lineESOURCE LOCALISABLE_APP_INFO r_urchodp_localisable_app_info
    {
    short_caption = STRING_r_urchodp_caption_string;
    caption_and_icon =
    CAPTION_AND_ICON_INFO
    {
    caption = STRING_r_urchodp_caption_string;

    number_of_icons = 1;
    icon_file = "\\resource\\apps\\URchODPIcon.mbm";

    };
    }s to my.RSS file:

    -----
    And last I added the following line to my.rls file:
    rls_string STRING_r_urchodp_loc_resource_file_1 "\\resource\\apps\\URchODP"

    Any further help appreciated.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: application icon

    With MBM icon the number_of_icons should propably be larger than 1, anyway, would be better to use real mif icon instead.

    Usually I would not put the icon path/name in the resource file, unless you are using different for different languages. anyway, just check that all paths & names are correct and it should work fine.

Similar Threads

  1. Dynamically changing application main icon
    By nuker85 in forum Symbian
    Replies: 6
    Last Post: 2008-10-17, 16:29
  2. Application icon not displayed until reboot
    By henranto in forum Symbian
    Replies: 7
    Last Post: 2008-07-01, 16:19
  3. application icon
    By vivek_mics in forum Symbian User Interface
    Replies: 4
    Last Post: 2007-01-02, 09:50
  4. Where is the application icon in the emulator?
    By softengilker in forum Symbian
    Replies: 4
    Last Post: 2005-07-22, 08:02

Posting Permissions

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