Overriding Android Native Keyboard

半世苍凉 提交于 2019-12-12 02:34:40

问题


I programmed a customKeyboard. What I need to do is to override native softkeybaord, system wide. Is it possible to do so? If yes, how can it achieve this and if no, then what are the alternatives to accomplish this task.


回答1:


It's called an "Input Method Editor"

There are plenty of apps such as swiftkey and swype which are custom keyboards which work this way. Basically, Android let's the user choose who will manager their input (both keyboard and touch).




回答2:


After installing your keyboard (apk), the user has to enable it manually in Settings -> Language & Input -> Default Keybaord. As pointed out by @hatcyl, there are plenty of other apps out there taking the same approach.



来源:https://stackoverflow.com/questions/17758751/overriding-android-native-keyboard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!