Preparing an SMS With the SmsComposeTask

The SMS compose task is used to launch the built-in Messaging app, allowing the user to create a new SMS message.

Note

The message is not sent until it is initiated by the user.

You can optionally specify recipients and a message body, which are prepopulated in the new message, as shown in the following excerpt:

SmsComposeTask smsComposeTask = new SmsComposeTask                                    {                                        To = "885729",                                        Body = "Hi from Windows Phone!"                                    };smsComposeTask.Show();

Sample Overview

Example code for the SmsComposeTask can be found in the SmsView page and ...

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.