×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    May 2008
    Posts
    61

    [Moved] Problem in displaying a Volume Setting Page

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

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Problem in displaying a Volume Setting Page

    Hi. Since your problem is related to Symbian C++, please post it in the appropriate forum, here. Also, please use CODE tags around your code to keep it indented and easy to read (the "#" sign button).

  3. #3
    Registered User
    Join Date
    Aug 2008
    Location
    Hyderabad
    Posts
    35

    Re: [Moved] Problem in displaying a Volume Setting Page

    Hi,
    Please go through the following link
    http://discussion.forum.nokia.com/fo...d.php?t=115991 for solution
    B V N S Gangadhar Rao

Similar Threads

  1. Error entering setting page!
    By b0ssY in forum Symbian User Interface
    Replies: 0
    Last Post: 2007-06-17, 09:47
  2. How to close Setting Page programmatically?
    By stevenhotw in forum Symbian
    Replies: 1
    Last Post: 2006-12-07, 01:49
  3. setting page, please help...
    By asmobease in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-08-18, 10:03
  4. how to create blank setting page ?
    By jawir212 in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-12-29, 08:48
  5. settings list and setting page
    By kozagayh in forum Symbian User Interface
    Replies: 1
    Last Post: 2004-10-13, 06:27

Posting Permissions

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