1 Star 0 Fork 0

zhang dongling / AndroidemojiParser

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

:sparkles: :heart: Emojize Java :heart: :sparkles:

Emojize is a Java library to convert keyboard emojis to chearsheet emojis

Emojize Java

A class that turns iOSStyle icons to Emoji Cheat Sheet codes and viceversa

Components

  • EmojiEditText: EditText subclass that allows you to convert Android icons into iOS Style emoticons
  • EmojiTextView: TextView subclass that convert icons into iOS style icons Both above works with icons in the following format [1fa6b] [1f3ba] ... ( Not in unicode )
  • emojiParser: This class convert the previous format into EmojiCheatSheet one

Getting Started

Wherever you want to use Emojis set the textView or editText of type EmojiEditText or EmojiTextView

Get the String with emojis converted in chear sheet format

String emojiString = emojiParser.emojiText(emojitextview.getText())
System.out.println(emojiString);

Set the text with emojis in chear sheet format into iOS Style format

emojitextview.setText(emojiParser.demojizedText(text));

Methods

public static String emojiText(String text){}
public static String demojizedText(String text){}

The MIT License (MIT) Copyright (c) 2013 Pedro Piñera Buendía Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Android emoji处理,使用简单。解析[1f6a5]这种数据格式。也可以兼容QQ输入法表情,暂时不支持搜狗输入法,搜狗输入法使用的不是标准unicode编码,是用的 都是UTF-8 unicode编码 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/jason/AndroidemojiParser.git
git@gitee.com:jason/AndroidemojiParser.git
jason
AndroidemojiParser
AndroidemojiParser
master

搜索帮助