在Windows Phone 8中发送短信 [英] send SMS in windows phone 8

查看:93
本文介绍了在Windows Phone 8中发送短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





i找到一个代码在Windows Phone 8中发送消息



Hi,

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

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







但是使用此代码我发现打开消息数字和消息...



i想直接发送消息而不需要其他对话框....是否有可能...

if有可能给我一个帮助...




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...

推荐答案

你不能。这是一项安全功能,可避免应用程序对sms功能进行不适当的控制/使用。
You can't. This is a security feature to avoid inappropriate control /usage of sms feature by an app.


这篇关于在Windows Phone 8中发送短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆