使用MQTT做为android的云推送
使用MQTT做为android的云推送
由于优秀的c2dm在国内是被墙的状态,为了保证世界人们都可用访问,所以只好采用mqtt方式
简介和如何使用见这里
http://tokudu.com/2010/how-to-implement-push-notifications-for-android/
代码见这里
https://github.com/tokudu/PhpMQTTClient
使用注意事项:
http://www.alphaworks.ibm.com/tech/rsmb/download,这里的rsmb_1.2.0.zip 一定要记得配,把端口1883启动起来
参考链接
http://stackoverflow.com/questions/1243066/does-android-support-near-real-time-push-notification
http://stackoverflow.com/questions/1378671/push-notifications-in-android-platform
http://blog.boxedice.com/2010/10/07/android-push-notifications-tutorial/
http://dalelane.co.uk/blog/?p=1599
http://tokudu.com/2010/how-to-implement-push-notifications-for-android/
http://blog.isidorey.com/2011/05/cloud-to-device-and-back-with-android.html
http://www.hardill.me.uk/wordpress/?p=207
http://tokudu.com/demo/android-push/
附加一个好玩的链接
http://www.hardill.me.uk/wordpress/?p=204
http://mosquitto.org/
更多相关文章
- Android 网络链接状态 网络是否可用
- Android的一些网上开发资源链接地址
- Android使用TextView实现无下划线超链接
- Android使用TextView实现无下划线超链接 | 萝卜白菜的博客
- Android系列教程之六:TextView小组件的使用--附带超链接和跑马灯
- Android TextView设置自动识别的超链接字体颜色,及自身点击事件无
- webview 笔记二(android和js交互、包括链接跳转常见问题处理,加载
- Android最实用的各种技能点的网址链接(每天都会更新,希望大家用的
- Android之UI学习篇三:TextVeiw单击文字链接弹出Activity