user1285383
user1285383

Reputation: 73

WP7 getting device coordinates

I try to get my device coordinates using google maps api by http request, I need an api key but I can not take api key. Are there not api key available for windows phone application?And how can I take my device coordinates?

Upvotes: 1

Views: 269

Answers (1)

Ku6opr
Ku6opr

Reputation: 8126

Use GeoCoordinateWatcher class available in WP7 to get device coordinates by GPS or WiFi/Cell towers. Also, you can choose desired accuracy / battery consumption to satisfy your needs.

Upvotes: 2

Related Questions