×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    May 2007
    Posts
    91

    Go back to caller view...

    Dear All...

    I am new at symbian development so please help...
    My question is How to ge back to previous view?
    Like I have a application default view, from that I activete some X view, from X view I activate Y view. Now from Y view I want to go back to X view.
    Though if I preserve DoActivateL(const TVwsViewId& aPrevViewId,...) then while going from default view to X view its fine.. from X to Y also its fine but when I return back from Y to X then X to default view I lost the link...

    So is there any other way to go back to caller view?

    Thanx & regards,
    Vinod.

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Go back to caller view...

    you can activate the pariculat view bu the id you have given to the view.
    STATIC_CAST(CMyAppUi*,CEikonEnv::Static()->EikAppUi())->ActivateLocalViewL(TUid::Uid(EMygViewId));
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  3. #3
    Regular Contributor
    Join Date
    May 2007
    Posts
    91

    Re: Go back to caller view...

    But what if my view is called from multiple view from time to time. I mean is there any app which will close the view & go back to the caller view...

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Go back to caller view...

    Have a look into the DoActivate function, in there you get the identifier of the last active view, just save it and use it when you want to activate it again.

    yucca

  5. #5
    Regular Contributor
    Join Date
    May 2007
    Posts
    91

    Re: Go back to caller view...

    ok now take a example..

    View A -> View B -> View C.
    Now if i store last view Id then view B will have id of view A & view C will have id of view B.

    Now go back. View C -> View B -> View A.
    Now view B will have id of C becoz view C will activate view B. But it should have been id of view A. So view B & C will have each others id & we will never come out of it.

    So plz consider it & then guide me.
    Thanx & regards,
    Vinod.

Similar Threads

  1. View changing
    By ckt in forum Symbian
    Replies: 7
    Last Post: 2007-02-22, 13:02
  2. View Image of Caller Before Accepting Call
    By jaceline in forum General Messaging
    Replies: 0
    Last Post: 2007-01-15, 06:25
  3. SIP content type
    By hlothman in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2006-05-17, 09:26
  4. Trigger event after view is Activated?
    By inc0gn1t007 in forum Symbian
    Replies: 0
    Last Post: 2006-03-29, 02:55
  5. Dialog doesn't appear when I go back to a view from another one.
    By bt214 in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-02-27, 04:48

Posting Permissions

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