How to access SMS Message threads from Windows pho

2019-02-14 07:51发布

问题:

I want to access all messages on a windows phone & take the back up of it or make a copy of it on PC / Phone.

I searched for this but couldn't get this on internet.

Is there any API available for achieving this.

This is for Windows Phone OS 7.5 Mango only.

回答1:

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.



回答2:

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.