Thanks for the feedback, Yep all the contacts i would want to get presence info of would be contacts on my roster and subscribed. So i would like to iterate through the roster and if a user is online send out a message, When a user is subscribed normally i can see thier presnce info so im not sure if it would be a security flaw if i could also see it programmatically once they are a contact on my roster.
Yea that presence probe looked promising using the PreseneManager in the API but it does not return anything, so im not sure how it should work.
void probePresence(JID prober, JID probee)
"Probes the presence of the given XMPPAddress and attempts to send it to the given user. If the user probing the presence is using his bare JID then the probee's presence will be sent to all connected resources of the prober. "
I think all it would though is allow a prober to visually see the probee’s presence through a IM client. i think, not sure though.