使用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/

更多相关文章

  1. Android(安卓)Retrofit 2.0(二)使用教程OkHttp3 + Gson + RxJava
  2. android TabHost(选项卡)的使用方法
  3. Android(安卓)Service dump使用
  4. android:windowSoftInputMode属性使用
  5. Android(安卓)Studio 使用Lambda表达式
  6. Android开发实践 带你理解使用WebView
  7. 箭头函数的基础使用
  8. NPM 和webpack 的基础使用
  9. Python list sort方法的具体使用

随机推荐

  1. sql语句优化之SQL Server(详细整理)
  2. 查询Sqlserver数据库死锁的一个存储过程
  3. SQL语句的并集UNION 交集JOIN(内连接,外连
  4. SQL Server中的SQL语句优化与效率问题
  5. sql 聚集索引和非聚集索引(详细整理)
  6. SQL SERVER数据库重建索引的方法
  7. SQL Server 压缩日志与减少SQL Server 文
  8. 针对Sqlserver大数据量插入速度慢或丢失
  9. ms sql server中实现的unix时间戳函数(含
  10. sql 判断函数、存储过程是否存在的代码整