Give fake location to Genymotion emulator - android

Is there a way to give my Genymotion android emulator a fake location, like USA for example, so I can test mobile ads and some other stuff?

You can change the GPS location and can set Latitude and Longitude according to your need, check below Screen Shots:
On the right hand side corner in you Genymotion Emulator you can see the GPS option,
When you click this option you will get one dialog as below:
Here you can change Latitude and Longitude.
Hope it help..

When using Genymotion free (personal) edition, you lost the position you gave when closing the genymotion.
To provide programming comfort to yourself, an app might be use that provide a fake location for android. There are a lot of apps at Google Play.
I use this one.

Related

Why location in Google maps shown on my pc is different than the one shown on my mobile phone?

If I am not wrong, the only way Google can know my location is through my cellphone. This means that if my cellphone is showing the correct location for me, there seems to be no reason for computer to show the different location. (Synchronization across devices, refreshing etc has been done several times) However, what I see is strange to me. My location on mobile phone is different (and inaccurate) than my location on the desktop computer. The locations show the same area of city but they are separated by around 100-200 meters. My question is, if the Google map is anyway fetching my location using my cellphone, why is it showing incorrect location on my pc? Thanks in advance.
Most smartphones are equipped with a gps devices.
This allow accuracy unlike PC which most don't have a gps device.
Google Maps website uses permissions to your location and most likely other web browser location information, but they will never get as accurate as devices.
I've found the opposite to be true. I have a more accurate location reading using google maps through my PC than on my smart phone. The location, time last online etc . . is more accurate on PC.

how do i change the default gps location on genymotion?

It's a real drag (heh) to drag the GPS all the way from Iceland to England each time I boot the VM in Genymotion. Any idea on how I can change the default location for it? Thanks.
That's the behavior for the "Personal Use" license. The Business or Indie licenses keeps the last GPS position in memory when you turn the device off.
You can also change the GPS position through command line with these paid modes.
BTW, it is not just Iceland's position, it is Dalvik ;-)
After I read this qustion and answer of eyal-lezmy, for a couple of days I thought that how can I overcome this issue . Then I found a solution.
An app might be use that provide a fake location for android.
I use this one. Now I don't use built-in GPS menu of Genymotion.
This is useful when testing my app.
Thanks eyal-lezmy. (I've given reputation)

tracking a gps sticker on android

I m going to explain simply what I want to do, and I will appreciate for your recommendation. I want to put a small gps sticker on my kid and develop an app in order to track him in real time, if he is going to school or not.
Is there any gps device (sticker) like that, if so can this device send its position simultaneously to my app.
Is there any tutorial that can help me to develop an app like this
There are GPS devices available in market for spying. You don't have to develop an app as They will also provide an app. checkout on of the link
http://www.cheatersspyshop.com/gps-trackers.html
or simply search spy GPS on google you will find a list of devices.

Incorrect GPS location reported by Google maps in Genymotion

I'm using the Genymotion emulator to test my android application that needs location with GPS.
When I launch the Google Maps application, it gives me an incorrect location. Anyone have any idea about that?
There is several solutions for your problem:
You can choose the GPS position of a Genymotion emulator thanks to the GPS widget on the right side of the screen.
You can also do it by shell commmand, look at the documentation here
Or, if you have a pro license, you can do it by the Java API (for unit test for example).
You need both the GPS on in Genymotion (where you can set the location it reports to the device as above) PLUS you need to turn on location services on the virtual device itself (under Settings/Location Services for 4.1.1 - may vary a little depending on which version of Android you are emulating).

Simulate GPS speed and heading on Android Emulator

Im trying to test my phonegap gps location application on Android Emulator.
I need to simulate W3C gps speed and heading on Android Emulator http://dev.w3.org/geo/api/spec-source.html.
Using DDMS i was able to setup kml path. However navigation.watchPosition only see latitude and longitude changes, heading and speed parameters are undefined.
Any ideas how to solve it?
Instead of using the android emulator, I use the ripple extension in chrome as the emulator. You can change everything you need for geolocation with it.

Categories

Resources