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!!!
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!!!
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.
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.
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.