how to call already created screen?


Last Updated:

  1. devdattac

    devdattac New Member This Topic's Starter

    Joined:
    Jan 2, 2009
    Messages:
    2
    Likes Received:
    0
    Hi All,
    I am new to android programming and want to develop an application which is a multi screen application . I have 4 screens A,B,C,D .
    B is started by calling startactivity(intent_B) defined in class A button click and c is calling by startactivity(intent_C) defined in class B and so on. Now I want to navigate from screen D to A . A screen is already created .
    flow of screen should be A->B->C->D->A.
    How should i achieve this?
    Please help me ASAP...
    thanx..
     

    Advertisement
  2. Sundog

    Sundog Well-Known Member

    Joined:
    Oct 21, 2008
    Messages:
    66
    Likes Received:
    3
    If this is the only navigation path required for these activities, simply having D and C call finish() in their onResume methods should do it, no? D calls finish() and will pop back up to C which will die and pop back up to B which will also die and give the screen back to A.

    Since it's a stack, you need to do something like this, I think.
     
  3. AndroidDeveloper

    AndroidDeveloper Member

    Joined:
    Mar 9, 2009
    Messages:
    7
    Likes Received:
    0
    I too looking for the same. could any one help how to naviage ? Say for an example link or button contains HOME, NEXT, PREVIOUS, LAST. Any examples available please elt me know.
     

Share This Page

Loading...