Hiding Icons in the Menu
| Wed, 2005-10-05 04:23 | |
|
Hi all,
I'm reading "forum nokia technical solution v1.7", in section 4.22 there's an article about "Hiding Icons in the Menu" which has the following code : RESOURCE AIF_DATA { app_uid=...; num_icons=2; embeddability=KAppNotEmbeddable; newfile=KAppDoesNotSupportNewFile; hidden=KAppIsHidden; } Well..I've tried it, but it has no effect at all, the icon is still shown in the menu.....anyone knows why? If someone already tried the above code and succeed, please share it with us. Thank you Irma |
|






Forum posts: 18
try changing
num_icons=0;
Forum posts: 44
But, I would like to ask about :
- I've changed the the mmp file too, eliminate AIF...and still not working
- How to compile AIF file? I just build the RSS file....is that it? because I tried to do AIF <APP NAME> <APP NAME>.RSS and the AIF file provided by that function made an error in my application...so I guess that way is wrong
Thanx in advance
Forum posts: 188
app_uid=...;
num_icons=2;
embeddability=KAppNotEmbeddable;
newfile=KAppDoesNotSupportNewFile;
hidden=KAppIsHidden;
}
AFAIC the above code in aif is sufficient to hide the Application icon in the Application menu. Have your reallyclean your application and tried to rebuild it? I think your AIF is not updated?
----
Chetan Kulshrestha
Forum posts: 18
it must work for you.
if it is still giving some problem, try modifying your mmp file
for eg. instead of writing this
AIF AknExList.aif ..\aif AknExListaif.rss c12 \
  AknExList_Icon.bmp AknExList_Icon_mask.bmp aknexlist_lst.bmp aknexlist_lst_mask.bmp
write
AIF AknExList.aif ..\aif AknExListaif.rss
Forum posts: 44
Thanx for your suggestions
I just want to recheck my steps, please tell me if
I've done something wrong :
- I use symbian C++ 7.0, with visual C++
- my app's name is IO_Test
- I put this in the last line of my IO_Test.rss
RESOURCE AIF_DATA {
app_uid=0x0767D54D;
num_icons=0;
embeddability=KAppNotEmbeddable;
newfile=KAppDoesNotSupportNewFile;
hidden=KAppIsHidden;
}
- I change the MMP file from
AIF IO_test.aif ..\aif IO_testaif.rss c8
context_pane_icon.bmp context_pane_icon_mask.bmp
list_icon.bmp list_icon_mask.bmp
into : AIF IO_test.aif ..\aif IO_testaif.rss
- I've cleared all of the previous build by searched
from the searching menu...and delete all IO_Test file
under Epoc32 folder
- I Ctrl-F7 the .rss file
- I build (F7) the app
- I build "abld build armi urel" from the command line
- send it to 6600 through bluetooth
- and...it doesn't work
Do my steps are right/not? or do I have to compile the
AIF file in a special way?
Thanx in advance,
irma
Forum posts: 188
open command prompt... change path to your group folder ( or where ever your application bld.inf file exist). Now give these comands.
bldmake clean
bldmake bldfiles
abld reallyclean
abld build armi urel ( for release )
abld build wins udeb ( for wins emulator)
----
Chetan Kulshrestha
Forum posts: 41
I don't seem to be able to remove it from 'My own'.
How did you end up solving the problem?
Max.
Forum posts: 41
I found the problem (well, it solved it for *me*, but I'm no expert).
The changes detailed above are not supposed to be to the aif file, but to a data/<appname>_reg.rss file. See section "5. Registration file" in the S60_Platform_Porting_from_2nd_to_3rd_Edition_v1_1_en.pdf file. They should be to a 'APP_REGISTRATION_INFO' resource structure.
HTH.
Max.