where & how to use onKey,onkeyDown,onKeyPressed event in android?
<p>hi
  where to use onKey and onKeyUp/Down event in android.</p>

<p>e.g. i have one textview . when user pressed any key i want to display that character in textview,
     In this case which event(above) is used.</p>

<pre><code>PLEASE explain with EXAMPLE 
</code></pre>

<p>Or give some other example that get the key event and print in edittext or some other.</p>

<p>Thanks in advance...</p>
