On Tue, Dec 21, 2010 at 8:00 AM, Nikola <[email protected]> wrote:

> 1) I want to show first fourth activity at the start, but discard it after
> being shown. (you cannot go back and see it)
>

Call finish() on it when you're done with it.


> 2) If I am in for eg. in activity number 2 and want to go in activity 1
> then from 1 back to two, what is procedure for this, beacuse when I am doing
> this through intents I am leaving "trail" behind so going with back button
> there is whole stack. (how to avoid this).
>

Use the right launch mode flags. See the documentation for the various flags
you can use to launch activities and their behavior.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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