如何使用visual basic从Windows Phone应用程序发送短信 [英] How to send a sms message from a windows phone app using visual basic
本文介绍了如何使用visual basic从Windows Phone应用程序发送短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了应用,但我不确定如何让应用发送短信。我将所有用户信息存储在一个字符串中并准备发送。不确定如何发送。
I created the app, but I'm not sure how to get the app to send a sms message. I have all the user information stored in a string and ready to send. not sure how to make it send.
推荐答案
您无法直接从您的应用发送短信,但您可以按如下方式启动smsComposeTask:
You cannot directly send a SMS from your app, but you can launch the smsComposeTask as follows:
Dim smsComposeTask As SmsComposeTask = new SmsComposeTask()
smsComposeTask.To = "123456789"
smsComposeTask.Body = "Message body here!"
smsComposeTask.Show()
有关详细信息,请参阅 如何使用Windows Phone的SMS撰写任务
For more information, see How to use the SMS compose task for Windows Phone
这篇关于如何使用visual basic从Windows Phone应用程序发送短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文