title: Android:how to get any KeyPress event with example?
body: <p>i want to get the key value when user pressed any key and also perform action based on  the key pressed in android.</p>
  
  <p>e.g. if user pressed 'A' key then i want to get that value,compare,do something.</p>