I have solved this problem after a lot of research. you need proto file to implement text input esp these parameters: imeObject, editInfo, imeBatchEdit