使用C2DM最简单的方法?

发布于 2024-11-28 06:49:36 字数 97 浏览 0 评论 0原文

几周过去了,我在 C2DM 工作方面遇到了很多麻烦。我已经阅读了一百万份指南并观看了视频教程,但没有运气。我只需要一种以最简单的方式与我的服务器和手机进行通信的方法。有什么帮助吗?

It has been a couple of weeks and I am having so much trouble making C2DM work. I've read a million guides and watched video tutorials but have had no luck. I just need a way to communicate with my server and my phone in the simplest way. Any help?

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

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

发布评论

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

评论(2

や莫失莫忘 2024-12-05 06:49:36

如果您仍然有兴趣尝试 C2DM,请尝试安装 Google Plugin for Eclipse 并使用它来生成Android / App Engine 示例项目。它应该能够生成一个能够在 AppEngine 和基本 Android 应用程序之间进行通信的骨架项目。您可以验证示例是否有效,并将其用作调试自定义应用程序的基础。

还有一个相关的 AppEngine + Android 会议

If you're still interested in trying C2DM, try installing the Google Plugin for Eclipse and use it to generate the Android / App Engine sample project. It should be able to generate a skeleton project that is able to communicate between AppEngine and a basic Android application. You could verify that the sample works and use it as a basis to debug your custom application.

There was also a related AppEngine + Android session at Google I/O this year.

撩动你心 2024-12-05 06:49:36

推送到应用程序的最简单方法是使用第三方推送提供商,例如 Urban AirshipXtify。您无需编写直接与 google 交互的代码,而是将第三方 SDK 集成到您的应用程序中,然后它们会处理混乱的事情。

此外,如果您的应用程序变得(或已经)很大,您不必担心扩展问题。跨平台(iOS、黑莓)就更容易了。

The easiest way to get push into your app is to use a third party push provider like Urban Airship or Xtify. Instead of writing the code to interface with google directly you integrate the third party SDK into your app and they handle the messy stuff.

Additionally, you don't have to worry about scaling if your app gets (or already is) big. And going cross-platform (iOS, Blackberry) is that much easier.

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