Click here to Skip to main content
15,669,580 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

i found a code to send a message in Windows phone 8

SmsComposeTask smsComposeTask = new SmsComposeTask();
    smsComposeTask.To = phoneNumber;
    smsComposeTask.Body = message;

but using this code i found opening messaging with number and message ...

i want to send message directly without other dialog it possible...
if it is possible give me a help...
Updated 2-Jan-16 5:15am

1 solution

You can't. This is a security feature to avoid inappropriate control /usage of sms feature by an app.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900