Add android input method methods. fixed #42