Fork me on GitHub

2012年6月26日

摘要: apple 提供了详细的代码文档为iphone推送通知服务做示范,但提示不是很具体;倒是如何实现和处理alert在设备app上讲述比较详细. 作为service,需要和apple的服务器交互,device只要维护和apns的一个连接,节省电池前提条件:使用SSL证书,这个就涉及不同的服务器不同的配置了,例如windows/linux的SSL连接socket的如何实现?逻辑条件判断需要发送的消息,简单一点就是每10min发送一条组合每条message的payload/ 按照一定的格式,其实格式也不是很多种断开与apns的链接Device token定位符号,APNS首先为每一个程序分配了一tok 阅读全文
posted @ 2012-06-26 11:50 pengyingh 阅读(409) 评论(0) 推荐(0)
摘要: sample_push.php<?php/** * @file * sample_push.php * * Push demo * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://code.google.com/p/apns-php/wiki/L 阅读全文
posted @ 2012-06-26 11:45 pengyingh 阅读(2341) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/gnicky/article/details/75442021. URL是不一样的,端口是21962. 使用同样的Certificate,建立安全连接,接受数据,直到数据不存在,类似table select操作3.每条纪录是一个token,server然后要删除这些device token纪录Access to the feedback service takes place through a binary interface similar to that used for sending push notifications. You acces 阅读全文
posted @ 2012-06-26 10:33 pengyingh 阅读(708) 评论(0) 推荐(0)

导航