My Emoji 软键盘不支持 android 中的消息编辑文本字段。 但其他应用程序如 WhatsApp 确实支持。 例如,在 whatsapp 和微信应用程序中,TextField 确实支持 Emoji 键盘字符,但在我的移动消息 TextField 中它显示?或 _ 对于我使用表情符号软键盘键入的每个字符。 我想在 Android 应用程序的 Mobile Messaging EditText 字段中集成 Emoji 字符支持。
如果有人能给我解决这个问题的方法,我将非常感谢你的回答。
最佳答案
试试吧:
int unicode = 0x1F60A;
String text = String.valueOf(Character.toChars(unicode));
//inputConnection.commitText(text,mComposing.length());
mComposing.append(text);
sss.append(text);
commitTyped(getCurrentInputConnection());
关于android - 我的表情符号软键盘不支持 android 中的消息 EditText 字段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31176958/