// 执行通知一定要退出应用或挂起应用(进入后台)才能收到通知。// 创建本地通知UILocalNotification *notification = [[UILocalNotification alloc] init];// 通知触发时间// 5秒钟之后触发notification.fireDa...
分类:
其他好文 时间:
2014-06-29 00:11:49
阅读次数:
164
貌似不影响提交。。。。。。。。还是有人提交成了。昨天晚上提交软件审核,遇到了Missing Push Notification Entitlement的问题。问题起因:这个版本我添加了PUSH推送功能,然后上传软件后,就提示Missing Push Notification Entitlement。...
分类:
移动开发 时间:
2014-06-20 21:32:02
阅读次数:
264
os apns-apple notification server 与第三方provider的通信原理网上已有很多介绍,这里不再介绍,有想了解的大家可以去IOS官网https://developer.apple.com/library/ios/documentation/NetworkingInte...
分类:
移动开发 时间:
2014-06-20 16:49:57
阅读次数:
296
208 Introducing CloudKit
231 Advanced CloudKit
CloudKit的对象粗略分为三个层次:Contriner、Database(分Public和Private)、Record
操作包括存储、获取或修改Record
可以注册关注Record的变化来获得Notification
绝大多数的操作是异步的
存储Record时需要注...
分类:
其他好文 时间:
2014-06-18 07:35:46
阅读次数:
228
Intent resultIntent = null; if
(!TextUtils.isEmpty(tid)){ resultIntent = new Intent("com.shijiebang.notify");
resultIntent.putExtra("_notify_url...
分类:
其他好文 时间:
2014-06-16 00:29:55
阅读次数:
297
Amazon SNS(Simple Notification Service)是一种基于云平台的消息通知和推送服务。SNS提供简单的 Web 服务接口和基于浏览器的管理控制台让用户能够简易设置、运行并从云中发送消息通知和推送服务。它为开发人员提供高度可扩展、灵活并且经济高效的从应用发布消息的功能,并立即将这些消息推送给订阅者或其他应用程序。...
分类:
移动开发 时间:
2014-06-15 16:59:54
阅读次数:
367
///// 第一步:获取NotificationManager
NotificationManager nm = (NotificationManager)
getSystemService(Context.NOTIFICATION_SERVICE);
///// 第二步:定义Notification
Intent intent = new Intent(this, Oth...
分类:
移动开发 时间:
2014-06-15 16:16:47
阅读次数:
182
一、等待与通知
public final void wait() throws InterruptedException
等待条件的发生。
public final void wait(long timeout) throws InterruptedException
等待条件的发生。如果通知没有在timeout指定的时间内发生,它还是会返回。
public fi...
分类:
编程语言 时间:
2014-06-14 14:10:33
阅读次数:
425
//发送通知UILocalNotification*notification=[[UILocalNotificationalloc]init];if(notification!=nil){NSDate*now=[NSDatenew];notification.fireDate=[nowdateByA...
分类:
移动开发 时间:
2014-06-11 22:49:44
阅读次数:
373
Android项目做得多了,会发现原来很多基础的东西都是可以复用,这个系列介绍一些自己项目中常用到的公共模块代码(当然只谈技术不谈业务),一来整理好了自己以后可以直接用,二来也分享给大家,希望能稍微减少大家的加班时间,提高些许效率。
Android Notification的原理和作用这里就不作说明了,相信是个android开发者都用过不止一次了,以下只介绍如何封装成公共的模块,以供整个项目使用...
分类:
移动开发 时间:
2014-06-10 07:13:32
阅读次数:
313