Go to previous action

I have two screens, on the second screen I have one back button that shows the first screen (using intention). if I press this button back from the second screen, I will go to the first screen without any problems. Now I want to go to the second screen automatically without pressing a single button. Please help me how can I do this. Thanks for ur valuable time.

+3
source share
5 answers

I would try a ViewFlipperdual screen operation . This is, of course, if you can encapsulate your actions in one action (which, I am sure, is controlled with AsyncTasks/ Threads, Servicesand Handlers).

, , (/) , , , .

+1

, finish().

- , Handler, finish() (. this ).

0

Thread.sleep([ms]),

0

rekaszeru. ViewFlipper. , . , Android ( )

0

- BACK (); ,

FIRST
SECOND
FIRST

, , , .

0

All Articles