开发者

How to send smileys/emotions (images) with messages in xmpp in iphone sdk?

开发者 https://www.devze.com 2023-03-03 13:10 出处:网络
How to send smileys/emotions (im开发者_JS百科ages) with messages in xmpp in iphone sdk ?Emoticons in XMPP are sent as plain text (e.g. :) and :(), and are not terribly well-standardized.We\'ve tried a

How to send smileys/emotions (im开发者_JS百科ages) with messages in xmpp in iphone sdk ?


Emoticons in XMPP are sent as plain text (e.g. :) and :(), and are not terribly well-standardized. We've tried a couple of times, but it turns out to be surprisingly difficult to achieve consensus on this topic. Your best bet is to pick an open source client and emulate what they do. Here are the lists from Exodus: (MSN-style, Yahoo!-style), which I point to just because I knew where they were.


I havent implemented this but

You can enable EMOJI keyboard to send the emoticons by enabling this keyboard from settings you can also refer to

http://arstechnica.com/apple/news/2009/02/freemoji-access-emoji-for-free.ars

Vikas


If you want to send the smileys as images (binary data) within the message, XEP-231 is the way to go.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号