How to get a user's presence without adding him

Hi All,

I am working with jabber chat widget which has a predefined user JId to whom the guest user will chat.

its working fine, now I need to show if the person is online or offline without adding him into my friend list,

The main problem :

Is there any way to get the presence of any jabber user without adding that person in my friend list and without joining his friend list

any information or suggestion would be appreciated.

Thank you


Maybe Presence Service

I upload the Presence Service jar , But It can’t work.(I can’t see any tab about Presence Service)

I also need to get a user’s presence without adding him.

Don’t use the method

final Roster roster = SparkManager.getConnection().getRoster();

return roster.getPresence(jid);