Hi RKJ,

Overload the function
@Override
        public boolean onKeyDown(int keyCode, KeyEvent event) {
                if(event.KEYCODE_BACK == keyCode)
                {
                        //Do what you want
                }
                return super.onKeyDown(keyCode, event);
        }

Thanks,
AJ
On Oct 25, 5:10 pm, "RKJ (Android developer)" <rkjhaw1...@gmail.com>
wrote:
> Hi All,
>
> I want to handle the back button in customize way.
> What to do.

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