Skip to content Skip to sidebar Skip to footer

Emoji Edittext Should Return Unicode

I am working on Emoji. I have used this library. It works fine, But when i get text from the EmojiconEditText it do not returns me unicode which are used in that edittext. As examp

Solution 1:

Finally i found solution.

You can get unicode from emoji by using commons-lang-2.5 jar

Check below code for emoji to unicode.

String textVal=edtpost.getText().toString();
String newval_unicode=StringEscapeUtils.escapeJava(textVal);

You can find uni code from this string.

May this answer help others.

Post a Comment for "Emoji Edittext Should Return Unicode"