Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set emojis like WhatsApp chat instead of mobile specific [closed]

I'm working on one project in that I export WhatsApp chat and set in TextView. Emojis used in chat is actual WhatsApp emojis but when I set in TextView it shows as Android emojis depends on the device.

Question: how to set whats app emojis in TextView?

Try: all I can find is how to make custom keyboard and libraries for custom keyboard**(i don't want to make custom emojies keyboard, unless that's the only option)** but I'm not sending any data. I'm just getting data and set in TextVeiw I'm wondering if anybody can guide. enter image description here,

like image 319
Rucha Bhatt Joshi Avatar asked Mar 25 '19 15:03

Rucha Bhatt Joshi


People also ask

How do I get WhatsApp emojis as my default keyboard?

Step 1: To activate, open your Settings menu and tap on System > Language & Input. Step 2: Under Keyboard, select On-screen Keyboard > Gboard (or your default keyboard). Step 3: Tap on Preferences. Step 4: Turn on the Show Emoji-switch Key option.

How can I make WhatsApp like messages?

Long press the message to which you wish to react. A pop-up will appear with six available emoji. Select one of the six emoji in the pop-up to use as the reaction. Your message reaction will appear below the message you previously selected.

How do I customize my emoji reactions for WhatsApp?

You can change your reaction to a different one. Long press on a message you reacted to. Tap a different emoji or tap to select a different emoji from your keyboard. You can remove your reaction to a message.


1 Answers

Emoji is Unicode just like any other character, that's why it's displaying system emojis even when you are using the WhatsApp messages in TextView. To display custom emojis like WhatsApp you have to implement it yourself. Check out this library it may help.

Some other libraries: Emoji Emoji Keyboard

Also, take a look at Android Emoji Compatibility Library

Even if you are not trying to send data, you can use these libraries to just display text and emojis with their respective custom TextView.

like image 72
Ajay Sivan Avatar answered Nov 07 '22 08:11

Ajay Sivan