Add methods for Android ime access

Resolves #36