Override it? 99 out of 100 times, that is a very bad idea. The users really do semi-intuitively expect Back to call finish() (not that they know this API) to make the current activity go away, taking them to the next one on the Activity Stack.
So why do you want to do this? On Jul 15, 6:24 am, Ajmer Singh <ajmersing...@gmail.com> wrote: > I am a new to android development > I want to override the default back button operation in android,please let > me know how i can do this in code. > > -- > Thanks and Regards > Ajmer Singh -- 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