[sip-comm-dev] Getting the login name and photo


#1

I want to know the place(class) where i can get the contact name and the
photo of the person who logs in..(my default username and my contact
photo)..
Pls help me..


#2

Hi Newan,

The ProtocolProviderService gives you access to the AccountID, from which you could obtain the userID or the account address. The photo could be obtained using the AccountInfoUtils.getImage.

Cheers,
Yana

ยทยทยท

On Dec 27, 2009, at 3:50 PM, nuwan seneviratne wrote:

I want to know the place(class) where i can get the contact name and the photo of the person who logs in..(my default username and my contact photo)..
Pls help me..

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net