Generate KEY_CHAR on Android.