使用 Android 2.2 非市场设备的 C2DM
我已经注册了 Urban Airship 并完成了 C2DM 的所有教程和设置,但现在意识到一件事 - 设备上似乎需要 Android Market 和现有的 Google 帐户 (http://code.google.com/android/c2dm/)
这对我来说是一个问题,因为该应用程序不是通过市场交付,但通过在运行 Android 2.2 的 KYROS MID7024 上预装了应用程序 - 我们计划专门使用该设备,所以我真的只需要知道 C2DM 是否可以在市场之外使用。
浏览了整个网络,发现了一些接近的帖子,但事实上我不会在市场上发布我的应用程序,仅在非市场设备上发布,我没有运气知道这是否可能。
根据 C2DM 的谷歌文档,它说你不能..但是有人有运气吗?对于简单的推送通知平台向非市场平板电脑传递消息还有其他想法吗?就像到目前为止的模型和文档一样,我完全不依赖 UA。
提前非常感谢。
I've signed up for Urban Airship and went through all of the tutorials and setup for C2DM but now realizing one thing - there seems to be a requirement of the Android Market on the device and an existing Google Account (http://code.google.com/android/c2dm/)
This is a problem for me as the app is not to be delivered through the Market but through a pre-installed application on the KYROS MID7024 which is running Android 2.2 - we're planning to use this device exclusively so I really just need to know whether or not C2DM can be used outside of the market.
Looked all over the web, found some posts that were close but the fact that I will not be releasing my app in the market, solely on non-market devices I'm not having luck finding out if this is possible.
According to google docs for C2DM it says you can't..but is there anybody out there that's had any luck? Any other ideas for simple push notification platform to deliver messages to non-market tablets? I'm not tied to UA at all just like the model and documentation so far.
Thanks much in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
绝对、权威地相信我,如果没有 Android Market,C2DM 将无法运行。
通过浏览类似的问题,发现这个,这表明你最好的选择是MQTT。
Definitively, authoritatively, trust me on this, C2DM won't work without Android Market.
From surfing around similar questions, came across this one, which indicates your best bet would be MQTT.
Pubnub 是您可以考虑用于推送通知的另一个选项。它支持无数的平台(包括 Android/iOS),并且有足够丰富的免费模式来帮助您。
是的,它可以在所有 Android 版本上运行,并且不需要在设备上安装 Android Market。
Pubnub is another option you can consider for push notifications. It supports a myriad of platforms (including Android/iOS) and they have a generous enough free mode to get you going.
And yes, it will work across all Android versions and it does not need Android Market to be installed on the device.