Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Feature - Emoji

Open daryltucker opened this issue 12 years ago • 32 comments

I hate emoji, but this guy on this issue requested it and I figure I'll help him/you out by making a new issue/feature request.

daryltucker avatar Feb 10 '14 20:02 daryltucker

I think this one makes sense with the upcoming release of TextSecure for iOS. iOS users are big emoji users.

FredericJacobs avatar Feb 10 '14 21:02 FredericJacobs

This is built into KitKat, so we probably won't be expanding emoji support for older devices.

moxie0 avatar Feb 24 '14 17:02 moxie0

My (and, more important, my SO's) phone will probably never have KitKat :-/ Can't you just take the hundreds of emoji from the (GPLv2+) default client of Telegram?

jondo avatar Feb 24 '14 21:02 jondo

@jondo +1 for iOS-like emojis! Also, if possible, an option to switch between Android ones and iOS ones would be great!

bandali avatar Feb 25 '14 03:02 bandali

@jondo +1! That's the icon set also used in WhatsApp. Convincing WA users to switch to TextSecure will be much easier if they get their familiar and loved smileys back. It would also make sure that smileys look the same for each TextSecure user, regardless of their Android/iOS version (or the manufacturers' "enhancements"). And lastly, it would work with keyboards such as Swype, which lack proper smiley support.

lablans avatar Feb 28 '14 10:02 lablans

This should be reopened and implemented. @jondo +1!

alien0matic avatar Feb 28 '14 10:02 alien0matic

I agree with @jondo , these emojis should really be implemented. I convinced some friends to come over to TextSecure and this is one of the first thing they noticed.

jocelynthode avatar Mar 03 '14 16:03 jocelynthode

@jondo +1!

hunleyd avatar Mar 04 '14 20:03 hunleyd

Just for anyone who is wondering: The mentioned emoji are all from the font "Apple Color Emoji.ttf" on OS X Lion, and they are free to use.

jondo avatar Mar 04 '14 22:03 jondo

Reopening, this seems like a legit feature request and something other apps do.

mcginty avatar Mar 05 '14 08:03 mcginty

Given the architecture of TextSecure, adding support for emojis is quite simple. In fact, it boils down to four things:

  1. Add more emojis by dropping the appropriate pixmaps in /assets/emoji directory. GitHub's Gemoji project has an updated repository of PNG emojis.
  2. Adjust the emoji regex to match the new range.
  3. Given the larger choice, increase the emoji LRU cache size to some higher default (I think 32 should be fine) by changing this line.
  4. (not a priority, but very useful) Create more drawers to categorize emojis in a meaningful way by acting here and in other parts of the same source file. Instead of subdividing emojis based on Unicode blocks (whose names do not accurately reflect content), I propose the same categorization of a popular commercial IM application I will not name:
    • Emoticons
    • Nature
    • Activities and leisure
    • Places and transports
    • Abstract and everything else

I wonder if @jondo can confirm that the emoji set is actually free to use.

I think this will be quite trivial to implement (I estimate a couple of hours of work) and a great addition to TS. I have no time to work on this ATM but I might send a pull request as soon as I can if no one is willing to implement it.

esseks avatar Mar 11 '14 19:03 esseks

:+1:

jk779 avatar Mar 12 '14 17:03 jk779

Thanks @esseks for considering! Will your proposed changes also make sure that emojis in incoming messages are always rendered according to the Apple PNGs? Right now they are not - they show as Android 4.4 emojis, and are thus inconsistent between Android versions, manufacturer additions, etc.

lablans avatar Mar 12 '14 18:03 lablans

I wonder if @jondo can confirm that the emoji set is actually free to use.

In fact I don't know yet :-/

jondo avatar Mar 12 '14 20:03 jondo

I have a disappointing update: 'Apple Color Emoji.ttf' cannot be legally used. I got an Email from Peter Edberg, Apple, that this font was never considered for licensing :-(

jondo avatar Apr 08 '14 22:04 jondo

Thanks for the update. I wish consumers were more informed about what it is they are adopting, and the licencing behind whatever it is. :penguin:

daryltucker avatar Apr 08 '14 23:04 daryltucker

Wow, that's disappointing... thanks a bunch anyway for checking!

lablans avatar Apr 09 '14 07:04 lablans

As we use the iOS emojis in the iOS version of TS too AND already use some of the emojis in TS Android already (correct @mcginty?), I'd really go for the "use Telegram's or Gemoji's set".

I really think iOS and Android (and Desktop) users of TS should have the same set of emojis. @FredericJacobs and @corbett surely won't drop the iOS emojis?!

Maybe the free kickstarter project Phantom Open Emoji that can be found on GitHub is an alternative.

McLoo avatar May 23 '14 05:05 McLoo

I actually have a branch of TextSecure with a totally hacked together Telegram Emoji set in TextSecure and it's quite nice :).

mcginty avatar May 27 '14 17:05 mcginty

Great work :+1:
All the time I ask friends to install and test TextSecure, I always receive the same answer: Oh, where are my WhatsApp Emojis? And then they don't use TextSecure anymore. For myself, I don't need emojis, because security is more important for me, but most users aren't geeks and so they have a different point of view.

marsianer avatar May 29 '14 22:05 marsianer