hi
I was developing a setting page for an application.In this i am trying to display a volume setting iem but the problem is that when i run the application the emulator comes for a moment and it disappears.....the code which I used is given below.....
RESOURCE AVKON_SETTING_ITEM_LIST r_setting_list_setting_volume
{
flags = EAknSettingItemNumberedStyle;
title = "Setting list";
initial_number = 1;
items =
{
AVKON_SETTING_ITEM
{
identifier = EMySettingItemVolume;
setting_page_resource = r_volume_setting_page;
name = "Volume";
}
};
}
RESOURCE AVKON_SETTING_PAGE r_volume_setting_page
{
number = 1;
label = "Volume";
type = EAknCtVolumeControl;
editor_resource_id = r_settinglist_volume;
}
RESOURCE VOLUME r_settinglist_volume
{
flags = ESettingsVolumeControl;
value = 1;
}
The corresponding CreateSettingItemL must construct the item:
…
case EMySettingItemVolume:
settingItem = new (ELeave) CAknVolumeSettingItem
(aIdentifier, iVolume);
break;
Waiting for a reply......
Please help
Thanks in Advance!!!




