How to send a SMS message from within an Windows Phone 8.1 app
问题 I would like to create a Windows Phone 8.1 app that sends the location of the device to a contact in the contact list of the phone via a SMS message. How do I send a SMS message? 回答1: In Windows Phone 8.1, You can send sms using ChatMessageManager : Windows.ApplicationModel.Chat.ChatMessage msg = new Windows.ApplicationModel.Chat.ChatMessage(); msg.Body = "This is body of demo message."; msg.Recipients.Add("10086"); msg.Recipients.Add("10010"); await Windows.ApplicationModel.Chat