This exact same question was asked earlier today.... Do a search on the group and you will get the answer.
---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ---------------------------------------------------------------------- On Tue, Dec 15, 2009 at 9:56 PM, saurabh sinha <[email protected]> wrote: > somebody tell me > public void onKey(int x,KeyEvent e) > { > if(x==KeyEvent.keycode_dpad_center) > > > HERE which key is press for keycode_dpad_center > > > deepak tell me which key is pressed for keycode_dpad_center > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-beginners%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en

