Android的键盘记录 [英] Android Keylogger
问题描述
我写了Android的考试申请。一个应用程序的功能是捕获一切用户类型的键盘记录。我不明白我怎么能实现键盘记录的功能,如果有可能赶上一切用户类型,不幸的是,我发现在网络上很少code。
谁能帮我?感谢您的关注
I am writing an application for the Android for an examination. One of the features of the application is the keylogger that captures everything that user types. I didn't understand how I could implement the functionality of keylogger, if is possible to catch everything a user types and unfortunately I found very little code in the network. Can anyone help me? Thanks for the attention
推荐答案
我可能是错的,但我相信,你的应用程序可以捕获则只会在应用程序内作出的投入。我不认为Android使您能够捕获所有的关键事件中的所有应用程序,从你的应用程序的能力。所以,你只能得到这是针对特别应用程序中的关键事件。
I might be wrong but I believe that your application can catch only those inputs which were made inside the application. I do not think Android gives you the ability to capture all the key events in all the applications, from your application. So, you can get only those key-events which were targeted to your application in particular..
编辑:我看了看周围的互联网上,似乎有几个不道德的这样做的方法。您可以创建您的自定义键盘并从那里赶上输入。实现这一目标的另一种方法是运行在一个 的KeyListener $ C背景的
活动,抓住关键事件。服务
$ C>
EDIT : I looked around on the internet and it seems that there a few unethical ways of doing this. You can create your own custom keyboard and catch the inputs from there. Another way of achieving this would be to run a service
in the background with a KeyListener
activity to catch the key-events.
这篇关于Android的键盘记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!