-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change latitude and longitude at the same time? #10
Comments
I'm not sure of the behavior you want. Your sample code looks right to me. The current methods allow to change latitude, longitude, etc with a fluent API. You have to call multiple methods on the |
But the fluent API will update these parameters one by one, i.e, I noticed that the bearing is updated first, and accuracy is updated following, etc. It would trigger So I want to find a method to update these params at the same time. |
Right. That's a bug, we are working on it and it should be fixed in the next release of Genymotion. |
That's good, thanks a lot! |
Hi! yeah we made these calls blocking, to ease the use of the API. It can be painfully slow when 5 or 6 calls are chained. We will add a new multi-parameters method in the next version of the API, it will speed things up, and avoid staircase effects. |
Get it! |
Just to let you know, today we released version 1.1.0 of Genymotion Java API, which comes with a new API for the Gps to let you set all parameters of a location in one call. You can use it like this:
|
I want to know about that is there any way to change latitude, longitude, bearing, etc. at the same time by using java api.
The usage in the gpsTest example only changes them in order, not at the same time.
The text was updated successfully, but these errors were encountered: