Skip to content Skip to sidebar Skip to footer

Switching Between Two Already Started Activities Without Closing Any One Of Them In Android

I am trying to switch between two already started activities in android. I want switch between them like I want to put one in background and second in front and then on an event vi

Solution 1:

For your requirement use Fragments instead of creating different Activities, for this you have to extend your class by FragmentActivity instead of Activity.

Find below link for example on Fragment.

https://stackoverflow.com/questions/5710573/need-a-fragments-example


Post a Comment for "Switching Between Two Already Started Activities Without Closing Any One Of Them In Android"