2

我正在为 VB.Net 中的 Windows Mobile 手机编写应用程序,我想从手机内存中读取 SMS。根据 MSDN,我需要 SMSAccount 类:

'SmsAccount Class
'Provides access to a Outlook Mobile Short Message Service (SMS) account, the account's SMS folders, and the SMS messages they contain.

但是,SMSAccount 类只有一种有趣的方法,也就是Send(参见http://msdn.microsoft.com/en-us/library/microsoft.windowsmobile.pocketoutlook.smsaccount_members.aspx),我不知道如何访问实际消息。

我在网上找到了建议使用 smsAccount.Inbox 属性的示例,但我无法找到。我得到了这个代码,例如:

Dim smsAcc As SmsAccount
Dim smsFdr As SmsMessageFolder
smsFdr = smsAcc.Inbox

但我找不到 SmsMessageFolder 类和 Inbox 属性。

如何访问短信?

谢谢你的帮助,CFP。

4

2 回答 2

1

我找到了这个链接...

在 Windows Mobile 5 中从 Pocket Outlook 获取 SMS 消息

这似乎表明没有简单的方法可以做到这一点。当我进行搜索时,我注意到这家公司进行了第三方实施。我对它们了解不多,除了它似乎是几个论坛上的建议答案(所以你可能已经知道了)。

于 2010-04-30T15:30:39.880 回答
0

您可能想要使用本机或为某些本机实现编写自己的包装器(1) (2)

于 2010-02-08T13:44:32.800 回答