-----Original Message-----
From: [email protected] [mailto:[email protected]] 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.


_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to