save - android get key press programmatically -



save - android get key press programmatically -

i want know key has been pressed in android keyboard. example, if pressed {a}, want show value {a} in screen toast ?

i want using broadcastreciever or background service

try using dispatchkeyevent(keyevent event) in activity:

@override public boolean dispatchkeyevent(keyevent event) { log.i("key pressed", string.valueof(event.getkeycode())); homecoming super.dispatchkeyevent(event); }

android save keylogger

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -