Currently there is no API which allows you to access the user's SMS. Though there is a way to launch the Messaging application with the "Body" and "To" filed programmatically filled in.
The Microsoft.Phone.Tasks provide you with various classes which allow your application to launch various inbuilt application in windows phone such as contacts application, sms application, email application, camera application, search application etc.
The SMSComposeTask class is what you need to launch the messaging application.
发布评论
评论(2)
不幸的是,没有可用的 API。
但昨天我发现了这个:
http://wpdev.uservoice.com/forums/110705-app-platform
您可以在那里投票:) 页面与 apphub 论坛连接。
Unfortunately there is no API available for this.
But yesterday I've found this:
http://wpdev.uservoice.com/forums/110705-app-platform
You can vote there:) Page is connected with apphub forum.
目前没有允许您访问用户短信的 API。尽管有一种方法可以启动消息应用程序,并以编程方式填写“正文”和“收件人”。
Microsoft.Phone.Tasks 为您提供各种类,允许您的应用程序启动 Windows Phone 中的各种内置应用程序,例如联系人应用程序、短信应用程序、电子邮件应用程序、相机应用程序、搜索应用程序等。
SMSComposeTask 类是启动消息应用程序所需的。
Currently there is no API which allows you to access the user's SMS. Though there is a way to launch the Messaging application with the "Body" and "To" filed programmatically filled in.
The Microsoft.Phone.Tasks provide you with various classes which allow your application to launch various inbuilt application in windows phone such as contacts application, sms application, email application, camera application, search application etc.
The SMSComposeTask class is what you need to launch the messaging application.