title: How to retrieve chat history from open fire in android
body: <p>I have a chat app in which I want to retrieve chat history between two users, I have a stanza for retrieving chat messages and that is...</p>
  
  <pre><code>    &lt;iq type='get' id='pk1'&gt;
  &lt;list xmlns='urn:xmpp:archive'
  with='shrey27@sys1-pc'&gt;
  &lt;set xmlns='http://jabber.org/protocol/rsm'&gt;
  &lt;max&gt;30&lt;/max&gt;
  &lt;/set&gt;
  &lt;/list&gt;
  &lt;/iq&gt;
  </code></pre>
  
  <p>now, my problem is how can I fire this stanza to the server so that I can get the response.I have installed the message archiving plugin and messages are getting stored perfectly.any suggestions would be beneficial...
  thanks in advance!!! </p>