Discussion Board

Results 1 to 2 of 2

Thread: about Cba keys

  1. #1
    Regular Contributor coxcom's Avatar
    Join Date
    Feb 2006
    Posts
    58
    hi all,
    I developed one application,in that i move one screen to another screen.In that i use cba commands options and back,but it not go back its display one dialog like this: App.closed !
    here display(application name).
    any one know reply me urgent.


    I written for this in handle command below
    void CAptvClipScrView::HandleCommandL(TInt aCommand)
    {
    if (aCommand == EAptvSwitchToClipScrView)//|| aCommand ==EAknSoftkeyBack)
    {
    //AppUi()->ActivateLocalViewL(TUid::Uid(EAptvMainScrViewId));
    // AppUi()->ActivateLocalViewL(TUid::Uid(EAptvChnlScrViewId));
    //Play Command is selected
    DoPlayL();
    }
    else if(aCommand ==EAknSoftkeyBack)
    {
    iEngine->DoStop(); //Stop
    //Go Back to Channel SCrren
    AppUi()->ActivateLocalViewL(TUid::Uid(EAptvChnlScrViewId));
    }else
    {
    AppUi()->HandleCommandL(aCommand);
    }
    }for this show that above error.
    Last edited by coxcom; 2006-04-10 at 04:56.

  2. #2
    Registered User sinhashivam's Avatar
    Join Date
    Apr 2005
    Location
    Pune
    Posts
    115
    Check your HandleCommandL() where you are handling your cba buttons.

Similar Threads

  1. How to use cba with LaunchPopupMenuL?
    By larrydb in forum Symbian User Interface
    Replies: 6
    Last Post: 2008-11-03, 09:24
  2. How to hide CBA's ?
    By IngeSchmidt in forum Symbian Tools & SDKs
    Replies: 8
    Last Post: 2007-03-09, 04:10
  3. CBA, menu and key events
    By joker_pl in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-09-19, 10:27
  4. CBA softkeys Vs. EditorDialog soft keys
    By skdas in forum Symbian C++
    Replies: 2
    Last Post: 2003-07-16, 19:02
  5. how to dynamically enable/disable the CBA keys?
    By ouseka in forum Symbian C++
    Replies: 2
    Last Post: 2003-02-27, 03:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved