Feature - Emoji
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.
I think this one makes sense with the upcoming release of TextSecure for iOS. iOS users are big emoji users.
This is built into KitKat, so we probably won't be expanding emoji support for older devices.
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 +1 for iOS-like emojis! Also, if possible, an option to switch between Android ones and iOS ones would be great!
@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.
This should be reopened and implemented. @jondo +1!
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.
@jondo +1!
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.
Reopening, this seems like a legit feature request and something other apps do.
Given the architecture of TextSecure, adding support for emojis is quite simple. In fact, it boils down to four things:
- Add more emojis by dropping the appropriate pixmaps in
/assets/emojidirectory. GitHub's Gemoji project has an updated repository of PNG emojis. - Adjust the emoji regex to match the new range.
- Given the larger choice, increase the emoji LRU cache size to some higher default (I think 32 should be fine) by changing this line.
- (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.
:+1:
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.
I wonder if @jondo can confirm that the emoji set is actually free to use.
In fact I don't know yet :-/
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 :-(
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:
Wow, that's disappointing... thanks a bunch anyway for checking!
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.
I actually have a branch of TextSecure with a totally hacked together Telegram Emoji set in TextSecure and it's quite nice :).
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.