Can you close the activities after you activate the next one? Then,
you will only ever have open one activity.

On Tue, Nov 23, 2010 at 12:50 AM, umakantpatil <[email protected]> wrote:
> In short,
> question is how to close B activity from activity A. ?
>
> On Nov 22, 6:34 pm, umakantpatil <[email protected]> wrote:
>> I have app which has around 5 activities.
>>
>> When App is loaded I open Activity A and IF user opens then menu and
>> click on button 2 then Activity B is opened, If users clicks button 3
>> from menu then Activity C is opened. Its just like instead of tab i m
>> using menu.
>>
>> Now the problem is. If i m at Activity A and I click back button I
>> finish() the Activity A. But Activity B is shown. Now when again click
>> back on B then Activity C is shown.
>>
>> What I want. If I'm at activity A and press back button then need to
>> close all other activities too.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to