title: Android: connecting two device without internet
body: <p>I am developing an application. In which the idea is like - i want to connect two devices as two mobile or two tabs or mobile to tab or mobile to server or tab to server. Means i want to send data from one device to other device mostly xml.</p>
  
  <p>I want to connect two devices with out internet and blue tooth, I want to connect them with wifi having no internet. And than want to transfer data.</p>
  
  <p>My point is i am having an application which is used to generate a xml and after generation of xml i want to send it to other device or tab or desktop server on a button click.</p>
  
  <p>I searched on Google and found Ad-hoc network, but it is quite difficult to understand me. Is any other way by which i can easily understand Ad-hoc or other way by which i can connect.</p>
  
  <p>So please guide me what should i do, how can I achieve my task. I need your guidance and suggestions.</p>