I am trying to virtualize a GPS device in android running in a virtual box. I want an app running in android to use a gps device or somehow create a fake gps location. I started to study the source code of the Android emulator, but meanwhile anyone has a good place to start.
[UPDATE]
To make it more understandable, the entire application stack will look something like this:
Android app (with gps functionality) to be tested
Android virtual machine
virtual box
Microsoft Windows
Now, ideally, I would like my application (for example, adbor ddms) to work in Windows, from where the user could set some coordinate values for the GPS device (in the absence of actual GPS, as well as virtualize the existing GPS). These coordinates will be available for the Android application. Basically, this is the same as the functionality of an existing Android emulator (using ddms) through virtual-box, which executes an android image.
I DO NOT run the Android emulator and I do not use eclipse. :(
[UPDATE ENDS]
Thank you Vikram.
source
share