Skip to content Skip to sidebar Skip to footer

How To Get User Keyboard Language

I am writing an application which is using a edit text .i want to know whats users input language in oncreate method or when keyboard input type changes. Is there any way to set a

Solution 1:

There is no way to do this. The input language of a keyboard is not reported to the OS- in fact Android doesn't have the concept of an input language. It was an idea created by 3rd party keyboard manufacturers. So really a keyboard can be typing in any language and the OS would have no idea.


Post a Comment for "How To Get User Keyboard Language"