menu item not visible when i change the language dynamically



Hi all,
i have a strange problem.i am trying to change the application language dynamically and get some success in it.
now the problem appears is that as soon as i change the language dynamically the applications menu option get invisible.they appears only when i click al1 or r1 button.
there is instructions what i have done in code.
add the application.cpp
TFileName CMobileDMRApplication::ResourceFileName() const
{
return TFileName();
}
add following line in appui
BaseConstructL(EAknEnableSkin | ENonStandardResourceFile);
and called the functi

Related to : menu item not visible when i change the language dynamically
Add a menu item dynamically. URGENT !!!!!
Mobile Programming
Hi,
my problem is the next one:
I want to add items to a menu dynamically. Part of my .rss file is the next one:
RESOURCE MENU_PANE r_myapp_menu
{
items =
{
MENU_ITEM
{
command = EEikCmdExit;
txt = "Salir";
},
MENU_ITEM
{
command = Extra;
txt = "Add menu";
},
MENU_ITEM
{
cascade = r_extra_menu;
txt = "My directions";
}
};
}
RESOURCE MENU_PANE r_extra_menu
{
items =
{
MENU_
Dynamically Adding Menu Item at Specified Position.
Mobile Programming
Hi all,
When i try to add item at specified location using InsertMenuItemAtL(), The compiler generates an error
error C2039: 'InsertMenuItemAtL' : is not a member of 'CEikMenuPane'
The code is:
/////////////////////////////////////////////////////////////////////////////////////
CEikMenuPaneItem::SData item;
_LIT(KNewMenuItem,"Open");
iCoeEnv->ReadResource(item.iText,R_DIRECTORYEXPLORER_MENU);
item.iCommandId = EDirectoryExplorerCmdAppOpen;
item.iCascadeId = 0;
item.iText = KNewMenuItem;
aMenuPane->InsertMenuItemAtL(item,0);
////////////////////////////////////////////////////
menu options not visible after changing language dynamically?
Mobile Programming
Hi all,
i have a strange problem.i am trying to change the application language dynamically and get some success in it.
now the problem appears is that as soon as i change the language dynamically the applications menu option get invisible.they appears only when i click al1 or r1 button.
there is instructions what i have done in code.
add the application.cpp
TFileName CMobileDMRApplication::ResourceFileName() const
{
return TFileName();
}
add following line in appui
BaseConstructL(EAknEnableSkin | ENonStandardResourceFile);
and called the fu
change language dynamically.
Mobile Programming
hi , how can i change the language of my application in accordance with the change in the language of phone.Basically i need to change the language of menu items of all views my application has, i know that i can send different .loc files with pkg, so as to support different languages, but what if the user selects a language of which i have not sent the .loc file.For e.g. if user selects french as native phone language & i have not sent the localization file for french then my application won't be able to have the menu items in french language.
menu item not visible when i change the language dynamically
Mobile Programming
Hi all,
i have a strange problem.i am trying to change the application language dynamically and get some success in it.
now the problem appears is that as soon as i change the language dynamically the applications menu option get invisible.they appears only when i click al1 or r1 button.
there is instructions what i have done in code.
add the application.cpp
TFileName CMobileDMRApplication::ResourceFileName() const
{
return TFileName();
}
add following line in appui
BaseConstructL(EAknEnableSkin | ENonStandardResourceFile);
and called the functi
Dynamically adding menu item in actionbar
Mobile Programming

I am creating a android project which has three activity.I include this three activity in MainActivity using TabHost.The problem is if i want to add different menu item for these activities how can i do this.and how to add menus dynamically for separate activity. Is there any way to get the activity name and add menu for that activity dynamically.



Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .