Hi Chang,
You can call finish() in the first activity after you've launched the second
activity.

Cheers,
James

On Mon, Oct 5, 2009 at 7:33 PM, Chang <[email protected]> wrote:

>
> Hi group members.
>
> I have a question about activity switching.
>
> From menu, I launched a new application.(my test application). and
> first activity was shown.
>
> and I moved to second activity by clicking button in first activity.
> in second activity, I pressd back button.
>
> Normally,  backed to first activity. but i wish to back to home screen.
> (first activity was skipped)
>
> How can i do? please give me your advice :)
>
> Thank you.
> Chang.
>
> >
>

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