Reputation: 557
I'm writing an application that allow users to chat, but I have problems in applying the emjois, now what I have like some user send a message
Hello :)
the other user see the message as it is, I need to convert :)
to user device emoji.
how can I accomplish this?? is there any good library on Github that replace all the texts to emojis ??
Any help please. I'm stuck on this for hours
Upvotes: 0
Views: 3359
Reputation: 2903
Emojis are handled by TextView, EditText's by default, it all depends on font your current device having by default. You can add emojis using unicode's from here
See for example Grinning face emoji and it's unicode value for java "\uD83D\uDE00"
Upvotes: 2