My application uses Android 4.0 on Samsung Galaxy S3.
I want to integrate Emoji character support in EditText field in Android application. Can anyone suggest me, how c
It depends on the font that is used for the TextView
or its subclasses like EditText
.
Every View
can display emoji because there are hundreds of emoji included in Unicode and those have also become the default that most emoji keyboards and apps like WhatsApp use.
However, you won't see those colorful images as you see in WhatsApp, for example. This is because WhatsApp uses custom fonts/images for these emoji which replace the default appearance.
But if you add emoji to a text field in your normal "Messages" application or somewhere else, you should see the normal Android style which is monochrome emoji showing the Android robot.
Here's a list of common emoji and their Unicode codepoints:
https://github.com/delight-im/Emoji
They're all supported in Android's normal font. I guess you may have changed the font of your EditText
in the layout.