在Android上获取表情符号iOS

时间:2019-04-24 21:12:46

标签: android android-appcompat emoji

是否可以使用 com.android.support:support-emoji:28.0.0

在Android的TextView上获取表情符号iOS

我想避免使用开放源代码库。.请提供帮助吗? 谢谢

1 个答案:

答案 0 :(得分:0)

您可以将unicode用于表情符号。

以下是链接:https://unicode.org/emoji/charts/full-emoji-list.html

要在Android中使用它,您需要将 U + 替换为 0x ,这样它将是一个整数。

要在您的.../tensorflow/python/keras/engine/network.py中将unicode设置为文本,可以使用;

Java:

TextView

科特琳:

public String createEmoji(int unicode){
    return new String(Character.toChars(unicode));
}