构建一个Android通知服务器 [英] Building an Android notification server

查看:122
本文介绍了构建一个Android通知服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有关于如何建立一个自定义的通知服务器为Android任何文件?我目前正在使用GCM但由于应用程序和事实,通知是在我的应用程序,一个非常重要的功能性质,我宁愿实现此服务的内部,这样我可以控制的吞吐量,而且不会有任何人为限制(即使它每天通知)数十万。我也想稍后使用相同的通知服务器与iOS的版本的应用程序的,由于这个原因,一个定制通知服务器是多preferred。

Is there any documentation on how to build a custom notification server for Android? I am currently using GCM but due to the nature of the app and the fact that notifications are a very important feature in my app, I would rather implement this service internally so that I can control the throughput and not have any artificial limitations (even if it's hundreds of thousands of notifications per day). I also would like to use the same notification server later on with the iOS version of the app and for that reason, a custom built notification server is much preferred.

我在理想情况下想知道什么是涉及为了写一个类似的邮件系统(在Android前端)。为了进一步澄清,我想了解(在顶层)的GCM通知在Android和内部如何工作的复制我自己的功能。

I would ideally like to know what's involved in order to write a similar messaging system (on the Android front-end). To further clarify, I would like to understand how (on top level) the GCM notification internally works on Android and how to replicate that functionality on my own.

任何帮助将是很大的AP preciated。

Any help would be greatly appreciated.

感谢您

推荐答案

在过去的3个月,我有同样的感觉,你做的。

for the last 3 months I feel the same way as you do.

1,你应该阅读这首 MQTT

1, you should read this first mqtt.

2,给看这个的自己1小时

2, and give yourself 1 hour of watching this

3,那里有很多的例子出来那里如何整合中的客户端及以上的这里服务器

3, theres alot of examples out there on how to integrate client and over here for the server.

编辑:一些成功案例从Facebook这里

它值得一试。 :)希望这将帮助你:)

Its worth a shot. :) hope this will help you :)

这篇关于构建一个Android通知服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆