简体   繁体   English

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

[英]Can I read stored SMS entries on my Windows Mobile phone from a .NET CF application?

Looking at writing an application using the .NET Compact framework to extract SMS messages on my Windows Mobile phone. 正在寻找使用.NET Compact框架编写应用程序以在Windows Mobile手机上提取SMS消息。 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. 我基本上希望能够在收件箱中导出存储的消息,以便可以将其导入Excel或其他程序进行格式化和存储。

In my personal case, I have a Treo 700w. 就我个人而言,我有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. 之前,我已经在Compact Framework下编写了一些小型应用程序,但是找不到引用文本消息存储位置的任何内容。 I have some 7000 messages stored in my phone and I'd like to extract them to free up memory. 我的手机中存储了大约7000条消息,我想提取它们以释放内存。 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. 由于法律原因,我可能不得不保留这些消息,因此就我的手机而言,我希望将其“离线”保存。

Has anyone ever had to do this? 有没有人必须这样做?

I don't believe the .NET Framework (compact or otherwise) includes an API for working with SMS which is done through CE MAPI . 我不相信.NET Framework(紧凑或其他)包括通过CE MAPI完成的用于SMS的API。 In other words you'll have to use interop, or write the app in C++. 换句话说,您将必须使用互操作或以C ++编写应用程序。 Or if you're lazy you can just use a wrapper . 或者,如果您很懒,可以只使用包装器 =) =)

如果您以WM6为目标,则可以使用Microsoft.WindowsMo​​bile.PocketOutlook命名空间访问SMS消息,尤其是SmsAccount类。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows Mobile上的.NET CF应用程序在全局异常处理程序中没有任何详细信息 - .NET CF application on Windows Mobile freezing with no details in the global exception handler 我应该如何从.NET CF 3.5 Windows应用程序连接到.NET 1.1 Web服务? - How should I connect to .NET 1.1 Webservice from a .NET CF 3.5 Windows Application? windows mobile 6.5 .net CF - 如何获取内部电话打开或关闭的通知 - windows mobile 6.5 .net CF - how to get notification that the internal phone turns on or off Windows Mobile 6.5-.NET CF连接管理 - Windows Mobile 6.5 - .NET CF connection management 如何使用命令行重建.net CF应用程序并在Windows Mobile模拟器中部署 - How to rebuild .net CF application and deploy in windows mobile emulator using command-line 如何从Windows CE移动设备访问文件到我的桌面应用程序? - How Can I access File from Windows CE mobile to my desktop application? 设备从睡眠模式唤醒后,如何确定我的移动.net应用程序为何冻结? - How can I determine why my mobile .net application is freezing after the device awakes from sleep mode? 如何检测用户何时单击Windows Mobile(.NET CF 3.5)中的通知图标 - How can you detect when the user clicks on the notification icon in Windows Mobile (.NET CF 3.5) Windows Mobile 6.5 .net CF HttpWebRequest来自2个不同线程的相同URL-错误 - windows mobile 6.5 .net CF HttpWebRequest to same URL from 2 different threads - errors 将CF应用程序部署到Windows Mobile设备(带有配置文件) - Deploy an CF application to a Windows Mobile Device (with config file)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM