Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User zhang2008's Avatar
    Join Date
    Sep 2006
    Posts
    27
    I am adding a view to a project which on multi-view architecture, I have code
    the view.h view.cpp container.h container.cpp and defined the view in the AppUi.h ,when i press the related menu item ,the command passed to the AppUi::HandleCommandL(TInt aCommand) then the HandleCommandL call the ActivateViewL(VIEWID_RECITE),But the view function DoActivateL(const TVwsViewId& /*aPrevViewId*/, TUid /*aCustomMessageId*/, const TDesC8& /*aCustomMessage*/)
    {
    ....
    }
    does not to run ,the application reports App. closed ,I don't know where is wrong ,wish everybody can give me a hand.

    when i press other mune item ,the other ivew can display correctly.

    Thanks in advance,

  2. #2
    Regular Contributor Tina_Tibrewal's Avatar
    Join Date
    Sep 2006
    Posts
    280
    Just look at the multiple views example at \Series60Ex\multiviews
    What is the error code it is crashing with?
    You can find the error code by creating a file errrd at wins\c\system\bootdata.

  3. #3
    Regular Contributor boumitran's Avatar
    Join Date
    Dec 2005
    Location
    Bangalore, India
    Posts
    90
    Before calling the DoActivate the system calls the Id(). Check the UID that you return in Id() method. It should not be same as any view in your application.

    Hope this helps.
    Best Regards
    -Boumitran

Similar Threads

  1. Problems with forms and views, help needed!
    By _fox in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-06-29, 16:41
  2. got stuck with views
    By gsmartphone in forum Symbian C++
    Replies: 1
    Last Post: 2004-01-06, 14:47
  3. got stuck with views
    By gsmartphone in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-01-06, 14:15
  4. Mutiple Views within a TabGroup
    By rguia in forum Symbian C++
    Replies: 3
    Last Post: 2003-10-14, 07:08
  5. Switching views on a Dialog-based Views App
    By net314 in forum Symbian User Interface
    Replies: 4
    Last Post: 2003-08-26, 21:05

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