http://elyzion.net/http://elyzion.net/themes/beem/favicon/favicon.ico?15180459462010-10-26T01:13:58ZBEEM - Android XMPP ApplicationBEEM - Android XMPP - Feature #309: XEP-0084: User Avatar http://elyzion.net/issues/309?journal_id=9422010-10-26T01:13:58ZFrédéric Barthéléry
<ul></ul><p>Reception of user avatar ok. still needs to display them.</p> BEEM - Android XMPP - Feature #309: XEP-0084: User Avatar http://elyzion.net/issues/309?journal_id=9712010-12-26T18:04:23ZFrédéric Barthéléry
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>60</i></li></ul> BEEM - Android XMPP - Feature #309: XEP-0084: User Avatar http://elyzion.net/issues/309?journal_id=10082011-01-19T18:52:40ZFrédéric Barthéléry
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>60</i> to <i>100</i></li></ul><p>Close this issue for reception and display of avatar.<br />Add <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: XEP-0084: User Avatar : set and change your published avatar (Closed)" href="http://elyzion.net/issues/338">#338</a> for publication</p> BEEM - Android XMPP - Feature #309: XEP-0084: User Avatar http://elyzion.net/issues/309?journal_id=10332011-02-01T15:42:25ZAnonymous
<ul></ul><p>I recently updated BEEM via the Market to Version 1.5 but it doesn't show the avatar of my contacts.</p>
<p>At the moment I'm chatting with somebody who uses a avatar and empathy displays it but not beem :(<br />What I noticed is, that sometimes the beem logo disappears and a black rectangle shows up (but his avatar isn't black).</p>
<p>Fabian</p> BEEM - Android XMPP - Feature #309: XEP-0084: User Avatar http://elyzion.net/issues/309?journal_id=10342011-02-01T15:48:34ZFrédéric Barthéléry
<ul></ul><p><a href="http://xmpp.org/extensions/xep-0084.html" class="external">User Avatar</a> is the next standard to display avatar in XMPP. But it is not implemented in a lot of client. They usually relies on <a href="http://xmpp.org/extensions/xep-0153.html" class="external">vCard-Based Avatars</a> which is not standard and should be deprecated as more clients switch to User Avatar. We decide to support the upcoming standard directly.</p> BEEM - Android XMPP - Feature #309: XEP-0084: User Avatar http://elyzion.net/issues/309?journal_id=10532011-03-10T00:59:31ZMichael Stapelbergmichael+beem@stapelberg.de
<ul></ul><p>Frédéric Barthéléry wrote:</p>
<blockquote>
<p><a href="http://xmpp.org/extensions/xep-0084.html" class="external">User Avatar</a> is the next standard to display avatar in XMPP. But it is not implemented in a lot of client.</p>
</blockquote>
<p>Pidgin supports v1.1 of it (which is the most recent one as far as I can tell), according to <a class="external" href="http://developer.pidgin.im/wiki/SupportedXEPs">http://developer.pidgin.im/wiki/SupportedXEPs</a>. Still, I cannot see the avatars of my pidgin contacts. They just don’t show up.</p>
<p>I’m running an ejabberd with enabled mod_pubsub with PEP plugin, also pubsub_createnode as set to {allow, all}.</p>
<p>What’s the best way to debug this? How can I verify that the pidgin clients have set the avatar correctly and how can I verify that Beem recognizes them correctly?</p>
<p>Thanks!</p> BEEM - Android XMPP - Feature #309: XEP-0084: User Avatar http://elyzion.net/issues/309?journal_id=10542011-03-10T09:39:20ZFrédéric Barthéléry
<ul></ul><p>Does your contact's server support pubsub and pep too ? If not I think pidgin fallback on the old vcard method.</p>
<p>The best way to verify it works is to enable asmack debugging and look for the pep message.<br />Use adb logcat -s SMACK to see only the protocol log. If your contact has an avatar set, you should receive an xmpp stanza such as</p>
<pre>
<message to='romeo@montague.lit' from='juliet@capulet.lit'>
<event xmlns='http://jabber.org/protocol/pubsub#event'>
<items node='urn:xmpp:avatar:metadata'>
<item id='111f4b3c50d7b0df729d299bc6f8e9ef9066971f'>
<metadata xmlns='urn:xmpp:avatar:metadata'>
<info bytes='12345'
height='64'
id='111f4b3c50d7b0df729d299bc6f8e9ef9066971f'
type='image/png'
width='64'/>
</metadata>
</item>
</items>
</event>
</message>
</pre>
<p>Notice the items node which is "urn:xmpp:avatar:metadata". If you receive this, Beem will automatically download the avatar and store it on your sdcard (/mnt/sdcard/Android/data/com.beem.project.beem/cache/avatar/).</p>