【问题标题】:unicode rendering in android notificationandroid通知中的unicode渲染
【发布时间】:2013-10-10 14:00:50
【问题描述】:

考虑一个可以转换为 html 转义形式的 unicode,例如:& #65;我想在通知中显示表情符号和表情符号。环聊可以为某些表情符号做到这一点。

android 通知可以渲染 html 吗? 有什么解决办法吗?

【问题讨论】:

    标签: android html unicode android-notifications


    【解决方案1】:

    也许使用 Html 类;

    String text = Html.fromHtml(<your string>);
    

    【讨论】:

    • 你使用哪个字符集?
    猜你喜欢
    • 1970-01-01
    • 2015-11-03
    • 1970-01-01
    • 1970-01-01
    • 2018-09-09
    • 2017-10-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多