我可以从.NET CF应用程序读取Windows Mobile手机上存储的SMS条目吗?

我可以从.NET CF应用程序读取Windows Mobile手机上存储的SMS条目吗?

问题描述:

希望使用.NET Compact框架编写应用程序以在Windows Mobile手机上提取SMS消息.我基本上希望能够在收件箱中导出存储的邮件,以便可以将其导入Excel或其他程序进行格式化和存储.

Looking at writing an application using the .NET Compact framework to extract SMS messages on my Windows Mobile phone. I basically want to be able to export the stored message in the inbox so that they could be imported to Excel or some other program for formatting and storage.

就我个人而言,我有Treo 700w.之前,我已经在Compact Framework下编写了一些小型应用程序,但是找不到引用文本消息存储位置的任何内容.我的手机中存储了大约7000条消息,我想提取它们以释放内存.出于法律原因,我可能不得不保留这些消息,因此就我的手机而言,我希望将其离线"保存.

In my personal case, I have a Treo 700w. I've written some small apps under the Compact Framework before, but I can't find anything referencing where the text messages are stored. I have some 7000 messages stored in my phone and I'd like to extract them to free up memory. I may have to keep these messages around for legal reasons so I'd like to preserve them 'offline' as far as my phone is concerned.

有人曾经这样做吗?

如果要定位WM6,则可以使用Microsoft.WindowsMo​​bile.PocketOutlook命名空间访问SMS消息,尤其是

If you are targeting WM6, you can use the Microsoft.WindowsMobile.PocketOutlook namespace to access SMS messages, particularly the SmsAccount class.