[jdev] Re: Suspending and resuming presence

Remko Troncon remko at el-tramo.be
Thu Sep 21 06:32:18 CDT 2006

> During an active session, is there a way to suspend/resume  
> presence? I am interested in letting the jabber server know that I  
> am currently not interested in receiving presence information - so  
> don't send me information when my buddies status changes. This is  
> for a wireless device, and if I have the app in the background, I  
> don't want to waste battery/keep the datachannel active.

If your server supports privacy lists, you can create a privacy list  
that blocks all incoming presence, and just switch back and forth  
between that list and the default list. Maybe not the optimal  
solution, but it works.


More information about the JDev mailing list