Add setText method for Android

Resolves #19.