The moose likes Android and the fly likes Question for Activity Switching. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Question for Activity Switching." Watch "Question for Activity Switching." New topic
Author

Question for Activity Switching.

Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
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.
 
 
subject: Question for Activity Switching.
 
Threads others viewed
Longer Post - ALL IBM ICE EXAM Q's for UML
Question on GC
Inheritance Doubt?
Final Class cannot be instantiated
Answers to IBM 486 sample test
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com