title: Manage Android Device through web browser from a laptop using WiFI
body: <p><strong>Requirement:</strong> I want to control my android phone through my laptop using WI-Fi. For this I need to run a web server and a "customized" web app that runs on the android phone over a particular port and the wifi adapter's ip address. For example , I can connect to the web application running on my phone through the browser in my laptop using : <code>http://(ip address of the phone):port</code></p>
  
  <p><strong>Things I have tried:</strong> I evaluated a few webservers for android that lets me run java based servlets like (<a href="http://code.google.com/p/i-jetty/" rel="noreferrer">ijetty</a>). There are others like TWJS , KWS , PAW etc. So far, I am able to run them on the phone and access the web server through my laptop.</p>
  
  <p><strong>My Question:</strong> Of all the resources and materials pertaining to developing apps for Android , I'm having a real hard time finding any useful and clear information on what web technology should I create a <strong>web application that can use the android APIs and effectively communicate with the phone just as any native Android application</strong>.</p>
  
  <p>i-Jetty claims to support Web Applications that can use the android apis , but lacks any sincere documentation on how to build to such web application/servlets that uses Android APIs.</p>
  
  <p>While,my requirement is similar to what to an existing application for Android does namely <a href="http://airdroid.com" rel="noreferrer">AirDroid</a>, it is not open source and neither it discusses anything related to its implementation architecture. So, I am open to any suggestions that can help me create a web application for the managing the android phone wirelessly.</p>