Send location with message on windows phone

Posted by Ivan Crojach Karacic on Stack Overflow See other posts from Stack Overflow or by Ivan Crojach Karacic
Published on 2013-10-19T07:02:26Z Indexed on 2013/10/19 9:54 UTC
Read the original article Hit count: 146

Filed under:
|
|
|

I am developing an app and would like to attach my location to a message and make this location "clickable" so that they can see it on a map/get a link which opens a map.

I am getting the correct location and store it into currentPosition but I am not able to send it so that the user can click on the link/map and see where I am. Is this even possible with the Windows Phone

var smsComposeTask = new SmsComposeTask();

var message = Message;
message += string.Format("\r\n My location is\r\n {0}",_currentPosition);
smsComposeTask.Body = message;
smsComposeTask.Show();

© Stack Overflow or respective owner

Related posts about c#

Related posts about windows-phone-8