问题
i want to make an android app that works in background and get's what key is pressed in keyboard and throw Equivalent of it in another language,for example persian or arabic. how can i do this? thanks for your help.
回答1:
I doubt you can write such APP, this would violate lots of security measures in android. But you can write your own custom soft keyboard:
How to develop a soft keyboard for Android?
user will have to choose your keyboard explicitly in settings. You will be able to do all the translations inside your keyboard.
来源:https://stackoverflow.com/questions/21003426/get-pressed-key-and-throw-another-key-in-android