Use finish() function of class Activity.

On Mar 19, 12:29 pm, Chirayu Dalwadi <chirayu.dalw...@gmail.com>
wrote:
> Hello Community,
>
> My application contains three-four pages.  On click of button in first page,
> I start a new activity which redirects to another page and second page
> redirects to third page and so on.
>
> Now I want to include one button which On click will redirect to first page
> by stopping all activities. So how to achieve that?
>
> --
> Warm Regards,
> Chirayu Dalwadi

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to