Menu

Display picture

Help
Stefans
2006-12-29
2013-04-29
  • Stefans

    Stefans - 2006-12-29

    Hi,
    Is there a way to receive someone else's display picture?  I can see how to set mine, and I see a DisplayPictureDuel class, but can't see any way of actually receiving it from the user.

    Also, entirely unrelated: Is there any way of determining which lists the contacts are in?  GUI space is at a premium and it'll be easier if I simply don't add blocked contacts to the list.

    Great library, by the way.
    __
    Stefans

     
    • Kelvin Long

      Kelvin Long - 2007-02-14

      Have you tried to set the owner's display picture? It didn't seem to work for me in the PrettyMessenger... If you have done it successfully, would you please share your experience?

      Thanks,
      Kelvin

       
      • Alex Perez

        Alex Perez - 2008-11-07

        Hi.

        I must be doing something wrong. I can't seem to get the picture showing on the users that add a jml handled account on jml-1.0b3.  Even after using DisplayPictureRetrieveWorker

        Could somebody share the code they are using to set the picture of the owner?

        Cheers
        Alex

         
    • Richard Barnett

      Richard Barnett - 2007-07-03

      I'd like to be able to get a contact's display picture & be notified when it changes, but can't see any API in JML 1.0b1 to do either of these. 

      I'm actually using the Openfire 3.3.1 gateway to register & login MSN users over XMPP; the gateway uses MSNP11.

      I've used Ethereal to examine the MSNP message traffic for Openfire/JML & a variety of official clients.  7.0 seems a good match for protocol as it uses MSNP11 & 10.

      I think that Openfire/JML doesn't initiate the MSNC1 p2p display picture transfer when it receives an ILN or NLN that indicates that the display picture has changed (ie the SHA1D attribute is different).

      To allow a JML user to do this would require a few changes since when IncomingILN calls the contact status changed callback it doesn't pass the MsnObject as a parameter.

      The p2p protocol actually used by MSN Messenger 7.0 seems quite different from that described in http://msnpiki.msnfanatic.com/index.php/MSNC:Display_pictures too.

      (Apologies if any of this is obvious;  I'm quite new to this protocol & some of it makes my brain hurt...)

      -- Richard

       
    • Rex Guo

      Rex Guo - 2007-08-02

      Hi..

      Are the owner's display picture stored on the MSN server?
      If so, how do I retrieve the display picture? Thanks..

       
    • PoP

      PoP - 2007-11-07

      Well, with the latest Microsoft Live Messenger client, wether you use your usual machine or someone elses, when you log into your account your display picture automatically appears, same when you log into your Windows Live Profile, your display image and personna message are already there.
      So yes, it seems that owner's data are stored on a server somewhere.

      I'm also trying to find out how to fetch contacts display image using the JML API. But since MSNCP ans MSNNP are new to me, I'm struggling. As anyone a clue?

      Thanks so much,

      Marc

       
    • PoP

      PoP - 2007-11-12

      Problem solved with the latest version on the trunk. DisplayPictureRetrieveWorker is just fine! :-)

       
    • Christine

      Christine - 2008-03-21

      I am still having a problem posting my picture to MSN, using messenger.getOwner().setInitDisplayPicture
      Does anyone know how to do it?

       
    • Christine

      Christine - 2008-03-22

      It turns out that the display picture won't work. There's some other things that don't work well in the download also. Best you can do is to use the latest source. Use Subversion and get dr^H^H trunk.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.