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

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

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



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

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

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