[jdev] XMPP on Android, Round #2

Stephen Pendleton pendleto at movsoftware.com
Fri Nov 5 10:43:31 CST 2010


-----Original Message-----
From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of
Rene Treffer
Sent: Friday, November 05, 2010 11:58 AM
To: Jabber/XMPP software development list
Subject: Re: [jdev] XMPP on Android, Round #2

>a) you don't need a wake look to keep the connection alive


You have a wake lock right now because your implementation uses timer tick
to tick every 60s right? Android will perform a wake lock until your
OnReceive() is finished executing and will then release it. That will keep
your TCP connection alive.




More information about the JDev mailing list