Svein Erik
Svein Erik

Reputation: 521

How to get the longitude and latitude from the GPS on WP7?

I'm writing an app that needs to get the longitude and latitude from the GPS on the phone. I'm saving up money to buy a phone, but for now, I'll have to stick to the emulator. Is there a way I can simulate some fake, random gps settings with the emulator?

A question aside: Is there any Windows Phones I should avoid buying, any tips?

Upvotes: 4

Views: 1220

Answers (2)

Pardeep Sharma
Pardeep Sharma

Reputation: 427

Above codeplex link have fake.cs file that is not working at all. and other link u folks are provided are expired.

If there is any good solution to simulate fake gps or find current location on emulator then post any sample App please

Upvotes: 1

Stuart
Stuart

Reputation: 66882

The emulator on its own doesn't provide any "fake GPS" support, but there are a few emulator tricks around to allow you to fake GPS data:

e.g.

I've previously used http://wp7gps.codeplex.com/ solution - I chose it before the official one was out as it gives you the same data each time (helped with testing)

Upvotes: 3

Related Questions