如何开始开发 Windows 移动应用程序

发布于 2024-08-18 16:39:46 字数 801 浏览 1 评论 0原文

我想为我的 Windows 6.1 标准智能手机编写一个应用程序,拦截传入的 SMS 消息并在符合特定条件时自动响应,但尽管安装了无数的 SDK,我仍无法执行我需要的操作。

我想使用的代码依赖于 Microsoft.WindowsMo​​bile.PocketOutlook.dll 程序集,但我似乎找不到该程序集。是否可以在标准移动设备上使用此程序集,或者我是否必须拥有 Windows Mobile 专业设备?

所以基本上我需要帮助来创建 Windows Mobile 应用程序。

  • 我正在使用 SharpDevelop(因为我 买不起 Visual Studio)。
  • 我需要 Microsoft.WindowsMo​​bile.PocketOutlook 程序集(因为我已经编写了应该可以工作的代码,所以使用了它)。
  • 设备模拟器也不错 所以我不必在手机上进行测试。

我想要做的事情可以在 Windows 6.1 标准设备 (HTC OZone) 上实现吗?

任何帮助将不胜感激,因为我完全陷入了这一点。

谢谢,

我尝试编译我的代码,但出现以下错误,正如我所怀疑的那样。

  • 类型或命名空间名称 “WindowsMo​​bile”不存在于 命名空间“Microsoft”(您是 缺少程序集引用?)

我找不到 Microsoft.WindowsMo​​bile.PocketOutlook 程序集,所以我当然缺少程序集引用。

我可以从哪里获取此程序集?如果我能找到它,此代码是否可以在我的 Windows 6.1 Standard 手机上运行?

I want to write an application for my Windows 6.1 standard smart phone that intercepts incoming SMS messages and auto responds if they match a specific criteria, but despite installing countless SDk's I am unable to do what I need.

The code I want to use relies on the Microsoft.WindowsMobile.PocketOutlook.dll assembly, but I can't seem to find that assembly. Is it possible to use this assembly on a standard mobile device, or do I have to have a Windows Mobile professional device?

So basically I need help getting set up to create Windows Mobile applications.

  • I am using SharpDevelop (because I
    can't afford Visual Studio).
  • I need the
    Microsoft.WindowsMobile.PocketOutlook
    assembly (Since I have already written code that should work, that uses it).
  • A device emulator would also be nice
    so I don't have to test on my phone.

Is what I want to do possible on a Windows 6.1 Standard device (HTC OZone)?

Any help would be appreciated, since I am completely stuck at this point.

Thanks,

I tried to compile my code and I get the following errors, as I suspected I would.

  • The type or namespace name
    'WindowsMobile' does not exist in the
    namespace 'Microsoft' (are you
    missing an assembly reference?)

I can't find the Microsoft.WindowsMobile.PocketOutlook assembly so of course I'm missing an assembly reference.

Where can I get this assembly, and will this code run on my Windows 6.1 Standard phone if I can find it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

怀中猫帐中妖 2024-08-25 16:39:46

在我看来,对于刚接触 Windows Mobile 开发的人来说,如果没有 Visual Studio,工作是非常困难的。

理论上,您可以使用 SharpDevelop 或 MonoDevelop,但您无法在模拟器或连接的设备上进行任何调试。如果您是 Windows Mobile 新手并且不太确定为什么您编写的代码不起作用,那么在代码运行时通过单步执行代码进行调试对我来说是一件不容错过的事情。调试某些东西需要更多的精力和时间,最终您可能会发现购买 Visual Studio 许可证更划算。

最低要求是 Visual Studio 2005 Standard。你可以尝试看看是否能找到便宜的地方出售它(因为现在大多数开发人员都使用 VS2008/2010)。如果您是学生,您可以获得学术许可证或利用 Microsoft 的 DreamSpark 计划。或者,如果您是一家初创公司,则可以查看 Microsoft 的 BizSpark 计划。

In my opinion it's very difficult for someone new to Windows Mobile development to work without Visual Studio.

In theory you can use SharpDevelop or MonoDevelop, but you wouldn't be able to do any debugging on the emulator or a connected device. Being able to debug by stepping through the code while it's running seems to me an unmissable thing if you're new to Windows Mobile and are not quite sure why something you coded is not working. It requires more effort and time to debug something and in the end you might find it more cost effective to buy a Visual Studio license.

The minimum required is Visual Studio 2005 Standard. You could try to see if you can find somewhere that sells it cheaply (as most developers now use VS2008/2010). If you're a student you could get an academic license or take advantage of Microsoft's DreamSpark program. Or if you're a startup you could look at Microsoft's BizSpark program.

孤独岁月 2024-08-25 16:39:46

尝试从已实现大多数需求的示例代码开始。 SDK附带示例:SMSIM
链接文本

它演示了如何使用 C# 编写托管代码版本短消息服务(SMS)拦截应用程序的示例。

我希望这有帮助。
麦克风

Try starting with sample code that has most of you requirements implemented. The SDK comes with the sample: SMSIM
link text

It demonstrates how to use C# to write a managed code version of a Short Messaging Service (SMS) interception application.

I hope this helps.
Mike

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文