title: POST xml file using http request on Android
body: <p>I'm trying to POST the following xml to a server url, but i don't know how to go about it. GET requests are easy enough, but I'm having a problem with POST requests.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-16"?&gt;
  &lt;ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;string&gt;the_command&lt;/string&gt;
  &lt;/ArrayOfString&gt;
  </code></pre>
  
  <p>I need to be able to modify 'the_command' at run-time before making the request.
  Any help will be appreciated!!!!</p>