Skip to content Skip to sidebar Skip to footer

Global Keyevent Logger For Application In Android

I have a class an activity class as follows: public class MyActivity extends Activity implements OnTouchListener {} The whole class is significantly long that have some good depth

Solution 1:

ok I see . u want to know which character they typed .
if they type a.b.or c. u want to know that they typed a.b.or c.
when u use SearchVIew .u can set a listener with the character changed.
so I think u can follow this way.

  • u want know the user typed ,so u must receive the user type.
    may be u need something like a EditText.
    see the TextView source code(as EditText extend TextView and EditText and the TextView do the most thing to handle the InputMethodManager)

  • then set a listener about the character changed .

  • this way I think u will know which kind of character will be typed


Post a Comment for "Global Keyevent Logger For Application In Android"