Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question for Activity Switching.

Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to know something more about Activity Switching.
Lets say we have four Activity. Activity A,B,C,D. User is navigating in this manner. A -> B -> C ->D.

Now I want to do something like this. Now user will go to Activity B. Its decided already. I want to jump to activity D to A on press of back button without creating new instance of B. I can use the method onBackPressed that I know. But the question is 'without creating new object' .

You can some other way too of doing this.
Please reply.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!