是否有适用于 Android 的推送通知系统?

发布于 2024-08-10 02:09:18 字数 111 浏览 2 评论 0原文

目前有适用于 iPhone、Palm Pre 和 Blackberry 的推送通知,均由各自的制造商提供。然而,我没有听到任何关于 Android 的消息(可能是因为谷歌本身并不销售手机。有没有任何解决方案?

There are currently push notifications available for iPhones, Palm Pre and Blackberries each provided by their respective manufacturer. However I have heard nothing for Androids (probably because google does not actually sell the phones themselves. Are there any solutions out there at all?

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

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

发布评论

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

评论(4

偏爱你一生 2024-08-17 02:09:18

正在寻找相同的。 Xtify 现在正在这样做。开发者.xtify.com。不仅仅是推送,还有很多功能,但如果您愿意,也可以只推送。我和他们的一位开发人员进行了反复讨论 - 他说很快你就可以在他们的平台上使用 iPhone 推送(虽然功能少得多,而且没有地理信息),但目前我只使用 Android。

Was looking for same. Xtify is doing this now. developer.xtify.com. has a lot more than just push, but you can do just push if you want. I had a back and forth with one of their devs - he said soon you will be able to have iphone push (much less rich and no geo though) as well off of their platform, but for now, I just use for Android.

陌上青苔 2024-08-17 02:09:18

Android 不存在与列出的其他各个制造商的设备操作系统相同的限制。因此,数据或通知很可能已经作为意图存在,您只需在应用程序中注册给定的意图即可。

您的情况的方法与您在普通计算机系统上使用的方法相同。
您可以让服务器将事件广播或流式传输到您在 Android 设备上创建的后台进程。

Android doesn't have the same limitations that the operating systems of the devices from the various other manufacturers listed incur. So it's likely that the data or notifications already exist as an intent and you just need to register for a given intent in your application.

The methodology in your case would be the same as you would use on normal computer systems.
You could have your server broadcast or stream events to a background process you create on the android device.

听风念你 2024-08-17 02:09:18

在我所做的所有调查中,目前没有任何服务可以执行此操作。最后一英里有点棘手,它给手机制造商(想象一下每个应用程序都启动自己的电话家庭守护进程)和运营商(当你有许多客户保持连接开放)。

我在一家名为 Urban Airship 的公司工作,我们为 iPhone 提供推送通知服务,并且收到了很多关于在 Android 平台上执行此操作的问题。我很想知道其他人是否会对这样的服务感兴趣?是否有一个(理想的)开源库与最后一英里云基础设施相结合,向设备和应用程序本身提供通知?

In all of the looking I've done around, there aren't any services doing this today. The last-mile piece is a little tricky and it presents some interesting issues for both the handset manufacturers (imagine every app firing up their own phone-home daemon) and carriers (that's a lot of back-and-forth when you've got lots of clients keeping connections open).

I'm at a company called Urban Airship and we do push notification services for the iPhone and have gotten a lot of questions about doing this for the Android platform. I'd be curious to know if others would be interested in a service like this? Something that would have an (ideally) open source library coupled with the last-mile cloud infrastructure providing the notifications to the devices and apps themselves?

不弃不离 2024-08-17 02:09:18

为什么不采用 XMPP 实现呢?现在有很多公共服务器可用,包括 gtalk、jabber、citadel 等。对于 Android,还有一个名为 SMACK 的 SDK 可用。我们不能说这是推送通知,但使用 XMPP,您可以保持客户端和服务器之间的连接打开,从而允许双向通信。意味着Android客户端和服务器都可以相互通信。目前这已经可以满足android中Push的需求了。我已经实现了一个示例代码,它确实工作得很好。

Why dont you go with the XMPP implementation. right now there are so many public servers available including gtalk, jabber, citadel etc. For Android there is one SDK is also available named as SMACK. This we cant say a push notification but using the XMPP you can keep a connection open between client and server which will allow a two way communication. Means Android client and server both can communicate to each other. At present this will fulfill the need of Push in android. I have implemented a sample code and it really works great.

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