title: Streaming HTTP connection possible with Android?
body: <p>I am working with a HTTP rest API and I need to be able to register to receive asynchronous event notifications.</p>
  
  <p>The application first establishes an event channel for event
  delivery by sending a POST request to the API. The event channel is established as a streaming HTTP connection. This persistent connection is created using Comet semantics.</p>
  
  <p>Is it possible set up a long running HTTP connection with Java/Android? </p>
  
  <p>I believe some sort of Socket is required that allows you to post data too.</p>
  
  <p><strong>EDIT</strong>
  The application I am creating will be on a device that always has a Ethernet connection and also mains power. So power/connectivity issues are not really a problem.</p>