title: Android: How to share files on a local network?
body: <p>I want to create application which can share files through wifi similar to <a href="https://play.google.com/store/apps/details?id=cn.xender" rel="noreferrer">Xender</a>/<a href="https://play.google.com/store/apps/details?id=com.majedev.superbeam" rel="noreferrer">Superbeam</a>. 
  I don't want to rely on router or some other hotspot.
  I want to create new connection from one device and other devices should able to find and connect.
  How can I achieve any sample code or link will help.  </p>