title: fake gps for android running in virtual-box
body: <p>I am trying to virtualize GPS device in android running in virtual-box. I want to facilitate an app running in android to use the gps device or get a fake gps location some how. I have started looking at the android emulator source code but meanwhile, any one has any good place to start with.</p>
  <p><strong>[UPDATE]</strong></p>
  <p>To make it a bit more clear, the whole application stack would be some thing like:</p>
  <pre><code>Android app (with gps functionality) to be tested ----&gt; (developed by end user)
  
  Android virtual machine ----&gt; (Guest OS)
  
  virtual box ----&gt; 
  
  Microsoft Windows ---&gt; Host OS 
  </code></pre>
  <p>Now, Ideally I would like to have my application (like <code>adb</code> or <code>ddms</code>) running in Windows from where the user can set some coordinate values for gps device (in absence of actual GPS, else virtualize the existing GPS) . These coordinates would be available to the android app. Basically, this is same as providing the functionality of existing android emulator (using ddms) through <code>virtual-box</code> running an android image.</p>
  <p>I am NOT running android emulator and I am not using eclipse. :(
  <strong>[UPDATE ENDS]</strong></p>