Hi,
dis
I m making a test application and want to able all keys excluding the
back button...... Using below code i am not able to disable HOME key
and right soft key..... Please suggest what to do.

        @Override
        public boolean onKeyDown(int keyCode, KeyEvent event) {
                if(keyCode == KeyEvent.KEYCODE_BACK){
                        return super.onKeyDown(keyCode, event);
                }
       else   {
                        return true;
                }

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