How can I detect which language is use typing into EditText. I know the API 13 has getCurrentInputMethodSubtype
, but what is the alternate for older versions?
Asked
Active
Viewed 887 times
7

Taranfx
- 10,361
- 17
- 77
- 95
-
Hi, did you ever figure this out? I'm having the same problem right now.. – n00b programmer Feb 23 '13 at 18:41
1 Answers
2
There is none. And I wouldn't count on even that above working across all keyboards. I wrote a popular keyboard and have no idea where the framework would get that info from- there's no API for them to query what keyboard type we are or for us to update if we switched (say from a user using an in keyboard switch language shortcut).
The keyboard API is really Google's bastard stepchild. They don't seem to put a lot of thought into it, or work with other major keyboard makers when adding new functionality.

Gabe Sechan
- 90,003
- 9
- 87
- 127