Send location with message on windows phone
- by Ivan Crojach Karacic
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();