Add set_text method for Android

Resolves #47.