As TreKing said - it is perfectly fine and normal for an activity to
finish() itself in circumstances where that is required.

On Jul 22, 7:56 pm, TreKing <treking...@gmail.com> wrote:
> On Thu, Jul 22, 2010 at 1:35 PM, RichardC 
> <richard.crit...@googlemail.com>wrote:
>
> > There is usually no need to call finish().
>
> > If you have avoided doing anything "clever", when the user presses
> > the [back] button your top activity will finish and the one underneath will
> > resume.
>
> Well, if your second activity is there to provide the first with a result,
> there is certainly the need to call finish(). This is pretty common
> functionality and not what I would call being "clever".
>
> -------------------------------------------------------------------------------------------------
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to