1

I am trying to make an Windows phone app. I want to know is it possible to send current location of the device to an another user. I am using azure mobile services. If possible can you please provide me some resources. Thanks

1 Answer 1

0

The method to get the current location is through use of

Geoposition geoposition = await geolocator.GetGeopositionAsync(
            maximumAge: TimeSpan.FromMinutes(5),
            timeout: TimeSpan.FromSeconds(10)
            );

But best is to read up on how to use this correctly inside an app from the MSDN documentation here http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206956(v=vs.105).aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.