Re: [android-developers] Acitivity managing

2010-11-17 Thread sathvik
I think I didn't understand properly , but according to what I understood , why u are not closing the activity B , ActivityB.finish(); will close the current activity and come back to previous without loading it again. On Wed, Nov 17, 2010 at 5:55 PM, Kostya Vasilyev wrote: > There is a flag you

Re: [android-developers] Acitivity managing

2010-11-17 Thread Kostya Vasilyev
There is a flag you can use for this, when launching A from B: http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_REORDER_TO_FRONT If A is already running, it will be brought to front. -- Kostya 17.11.2010 15:18, umakantpatil пишет: Hi, I have been in problem of

[android-developers] Acitivity managing

2010-11-17 Thread umakantpatil
Hi, I have been in problem of the Activity life-cycle. All though i read lots of docs on it put on getting clear picture on it. I have Activity A. In that activity I have menu options. If we click any option it opens the respective activity like if i click on 2nd button it opens Activity B Now ag