4

First, the Emoji characters on Android look different then they are in iOS device. In Android, the Emoji characters are black and white, but in iOS, they look much better.

Some input methods support typing Emoji characters directly in Android devices. For this kind of input method, in Facebook, if I type an Emoji character, then the character is still displayed as the one in Android. But in WeChat, the Emoji character looks the same as iOS.

So my question is, how to implement the same function as WeChat? Please see below two snapshots, the first one is WeChat, then the second one is Facebook.

Thanks a lot.

WeChat:

WeChat

Facebook:

Facebook

4

2 回答 2

1

您需要下载所有 Emoji 图片,将其保存在您的应用程序中,并在 EditText/TextView 中用 Emoji 图片替换笑脸的 unicode。

链接显示了在 EditText/TextView 中添加与文本内联的图像的方法之一。

于 2013-09-23T17:01:16.683 回答
1

最后我找到了用相应的表情符号图像替换 unicode 字符的方法。这是我的库/示例项目的 github 链接。享受。:-)

https://github.com/IPL/iOSStyleEditText

于 2013-10-05T03:05:30.810 回答