get pressed key and throw another key in android

1.3k Views Asked by At

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

There are 1 best solutions below

2
On BEST ANSWER

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.