title: Android - Create RESTful WebService - Host it on mobile
body: <p>My question is how to create a web service on android device &amp; host it on the mobile device.</p>
  <p>I don't want to <em>access</em> an already created webservice deployed on a <em>server</em>; I want to <em>create</em> a webservice that returns json/xml &amp; host it on <em>mobile</em>.</p>
  <p><a href="https://stackoverflow.com/questions/5452670/restful-web-services-implementations-in-mobile-devices">RESTful Web Services Implementations in Mobile Devices</a> says it's doable for Java-based mobile devices, so I think it can be done for Android too.</p>