WP7 上的消息应用程序

发布于 2024-11-12 17:12:51 字数 89 浏览 4 评论 0原文

我想知道是否可以开发一种类似于 WhatsApp 的短信应用程序,但适用于 WP7 设备之间?我正在考虑什么难度的编程技能水平以及开发这样的应用程序需要什么?谢谢!

I was wondering if it is possible to develop a text messaging kind of application similar to WhatsApp, but for between WP7 devices? What difficulty programming skill level am I looking at and what would be required to develop such an app? Thanks!

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

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

发布评论

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

评论(2

过度放纵 2024-11-19 17:12:51

总的来说,我不认为构建像 WhatsApp 这样的应用程序真的很困难。 (虽然我只听说过功能性)所以我会给你我认为你至少应该拥有的信息。

首先,您需要 WP7 应用程序,我认为它应该具有推送通知来通知用户有新消息。 (注意:推送通知是批量工作的,因此不会立即向最终用户发送通知。)您的 WP7 应用程序中应该有一个登录系统,这使得用户具有唯一的可识别性。

您应该在某个地方有一个中央数据存储,可以在其中存储用户、消息、消息之间的关系(回复、转发等)(注意:如果您的应用程序变得像 WhatsApp 一样大,您应该有一个非常好的可扩展数据存储。)。

我将使用 WCF 在您的数据存储和 WP7 应用程序之间进行通信。也许我现在已经监督了一些事情,但这将为您提供定义应用程序架构的开始。

更新 12:54

当我看到您关于从哪里开始的评论时,我搜索了一些文档:

Charles Petzold 有一本免费电子书,其中涵盖了很多内容:
http://www.charlespetzold.com/phone/

还有很多代码示例和文档在 MSDN 上:
WP7开发主要概述:
http://msdn.microsoft.com/en- us/library/ff402535(v=vs.92).aspx

WP7 代码示例:
http://msdn.microsoft.com/en-我们/library/ff431744(v=vs.92).aspx

In general I don't think it will be really difficult to build an app like WhatsApp. (Although I only heard about the funcationality) So I will give you the information I think you should have at a minimum.

In the first place you need your WP7 app, which I think should have push notifications to notify users about new messages. (Note: push notifications work in batches, so there will be no instant delivery notification to the end user.) You should have a login system in your WP7 app, which makes users uniquely identifiable.

Somewhere you should have a central datastore where you can store users, messages, relations between messages (replies, forwards, etc.) (Note: If your app becomes as big as WhatsApp you should have a really good scalable datastore.).

I would use WCF to communicate between your datastore and the WP7 app. Probably I have overseen something right now, but this will give you a start for defining your applications architecture.

UPDATE 12:54

As i saw your comment about where to start I searched for some documentation:

There is a free e-book from Charles Petzold which covers alot:
http://www.charlespetzold.com/phone/

Also there are a lot of code samples and documentation on MSDN:
Main overview of WP7 development:
http://msdn.microsoft.com/en-us/library/ff402535(v=vs.92).aspx

WP7 code samples:
http://msdn.microsoft.com/en-us/library/ff431744(v=vs.92).aspx

吃兔兔 2024-11-19 17:12:51

您可以查看套接字支持部分,这可能会对您有所帮助开始吧。

You can have a look at the Sockets Support section, which may help you to get started.

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