Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Trusted Contributor
Posts: 177
Registered: ‎03-02-2010
My Device: Not Specified

vcard xmpp

[ Edited ]

Hello All,

 

i am using jxa library for my chat application, i am able to get status, friends etc but i  am not able to get the full vcard that contain image.

 

I am getting "936a54c5c23e1d715ef264637ddc448d73eefe0e" string under photo tag, but i am not able to convert it into image.

 

please help me how can i fetch friend image using above library or how can i convert above string into image.

 

Thanks

Developer
Posts: 16,682
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: vcard xmpp

this is not an image, most lilkely it is an identifier that enables you to retrieve the picture, maybe there is a special method for it?
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Trusted Contributor
Posts: 177
Registered: ‎03-02-2010
My Device: Not Specified

Re: vcard xmpp

[ Edited ]

Hello Simon,

 

Thanks for reply.

 

Yes its not an image, as per XMPP it is "sha1-hash-of-image".  is there is any way to get it in image?


I tried to find metod for image but i am not getting any where in library that i am using.

 

There is any other library that we can use for XMPP based chat application , like asmack for android.?