Reputation: 109
I want to make custom keyboard in my app that supports multiple languages. By clicking the language button, it shows a particular language keyboard and display it in chat.
Upvotes: 2
Views: 5087
Reputation: 15695
Documentation exists on the official Android developer's website and deals with exactly this topic. See http://developer.android.com/guide/topics/text/creating-input-method.html.
Regarding multiple language support, there is a section in there titled "Creating an IME Subtype" that specifically deals with this. There are also multiple tutorials that deal with the creation of keyboard subtypes, such as this one. Further, here is an example of how the LatinIME's subtypes are defined (on Google's Android source code website).
Upvotes: 4