How do I create persistent socket connection on Android?
<p>First off, let me say that feel free to recommend me if long lived TCP persistent connections are the way to go or persistent HTTP connections are better. </p>

<p>I've also pre-read that instead of having a persistent connection, I can have a polling mechanism. </p>

<p>I'm just asking in the curious interest of how can I create a persistent connection from Android to a server?</p>

<p>Thanks!</p>
