# AndroidEmoji **Repository Path**: eebb_ldx_admin/AndroidEmoji ## Basic Information - **Project Name**: AndroidEmoji - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AndroidEmoji > j.s 🇨🇳 AndroidEmoji # Features * API > 9 * Support load emoji from file. * Support load emoji asynchronously. * Suppoet apple,google,twitter,emojione, [Get source.](https://github.com/w446108264/AndroidEmoji/blob/master/AndroidEmoji/simple/assets/ ) * More thin. ## Screen Record # XhsEmoticonsKeyboard If you need a keyboard --> [XhsEmoticonsKeyboard](https://github.com/w446108264/XhsEmoticonsKeyboard) # Samples You can [download a sample APK](https://github.com/w446108264/AndroidEmoji/raw/master/output/simple.apk) # Gradle Dependency Users of your library will need add the jitpack.io repository: ```xml allprojects { repositories { jcenter() maven { url "https://jitpack.io" } } } ``` and: ```xml dependencies { // see branch/master // without any emoji,just a lib to parse emoji, very thin. // you have to get emoji source and load them from file or other by yourself. -> // https://github.com/w446108264/AndroidEmoji/blob/master/AndroidEmoji/simple/assets/ compile 'com.github.w446108264:AndroidEmoji:1.3' // see branch/withsource // include some emoji sources // compile 'com.github.w446108264:AndroidEmoji:1.3-withsource' } ``` -- ### Simple ```java // The frist, you should put some emoji images to your project. // see demo! Spannable spannable = EmojiDisplay.filterFromResource(tv_content.getContext(), new SpannableStringBuilder(content), EmojiDisplay.getFontHeight(tv_content),EmojiDisplay.HEAD_NAME, null); tv_content.setText(spannable); ``` # Thanks * [https://github.com/iamcal/emoji-data](https://github.com/iamcal/emoji-data) # Contact & Help Please fell free to contact me if there is any problem when using the library. * email: shengjun8486@gmail.com # License ``` MIT License Copyright (c) 2017 w446108264 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. ```