码迷,mamicode.com
首页 >  
搜索关键字:pendingintent notification    ( 1236个结果
FFMPEG:压缩之H264编码(YUV420P->H264)
void CTest0Dlg::OnButton5() { // TODO: Add your control notification handler code here int nWidth = 720; int nHeight= 576; av_register_all(); avcodec_register_all(); AVFrame *m_pYUVFrame = new AVFrame...
分类:其他好文   时间:2014-11-26 16:43:12    阅读次数:454
Windows无法连接到System Event Notification服务的解决办法
前几天安装了一个Windows漏洞补丁,装完没啥问题,但是接下来几天就莫名其妙地出问题,每次开机后资源管理器先挂一次倒也罢了,难以忍受的是本来网络好好的,突然就什么都连不上了,必须清理DNS缓存重启才能解决问题,而重启后又会挂一次资源管理器……虽然这种断网的情况出现..
分类:Windows程序   时间:2014-11-25 18:50:49    阅读次数:205
android之Notification通知
我们在用手机的时候,如果来了短信,而我们没有点击查看的话,是不是在手机的最上边的状态栏里有一个短信的小图标提示啊?你是不是也想实现这种功能呢?今天的Notification就是解决这个问题的。package cn.com.chenzheng_java;import android.app.Activ...
分类:移动开发   时间:2014-11-25 15:47:48    阅读次数:239
appwidget 实现广播机制
package com.example.appwidget02;import com.example.appwidget02.R.drawable;import android.app.PendingIntent; import android.appwidget.AppWidgetManager;...
分类:移动开发   时间:2014-11-25 14:18:48    阅读次数:179
Android 通知栏Notification的整合 全面学习 (一个DEMO让你完全了解它)
在android的应用层中,涉及到很多应用框架,例如:Service框架,Activity管理机制,Broadcast机制,对话框框架,标题栏框架,状态栏框架,通知机制,ActionBar框架等等。下面就来说说经常会使用到通知机制中的通知栏框架(Notificaiton),它适用于交互事件的通知。它...
分类:移动开发   时间:2014-11-24 17:10:48    阅读次数:333
android服务和广播的结合使用demo
package com.example.yqqmobilesafe.service; import java.util.List; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Servic...
分类:移动开发   时间:2014-11-24 12:02:12    阅读次数:249
兔子--PendingIntent与Intent的区别
pendingIntent是一种特殊的Intent。 主要的区别在于Intent的执行立刻的,而pendingIntent的执行不是立刻的。 pendingIntent执行的操作实质上是参数传进来的Intent的操作, 但是使用pendingIntent的目的在于它所包含的Intent的操作的执行是需要满足某些条件的。 主要的使用的地方和例子:通知Notif...
分类:其他好文   时间:2014-11-23 11:50:06    阅读次数:160
兔子--Notification的使用
使用步骤: 1 获取通知管理器NotificationManager,它也是一个系统服务 2 建立通知Notification notification = new Notification(icon, null, when); 3 为新通知设置参数(比如声音,震动,灯光闪烁) 4 把新通知添加到通知管理器 package com.example.mynotificati...
分类:其他好文   时间:2014-11-23 11:48:28    阅读次数:217
第五十讲:Android之Nothfication(三)
勤能补拙是良训,一分辛劳一分才。 本讲内容:通知 Notification 和 通知管理器 NotificationManager 我们通过一个例子实现一个可更新进度的通知,代码的讲解都写在注释里了 下面是res/layout/activity_main.xml 布局文件: <LinearLayout xmlns:android="http://schemas....
分类:移动开发   时间:2014-11-22 17:33:16    阅读次数:191
iOS APNS推送前端和后端(Java)代码
Push的原理:Push 的工作机制可以简单的概括为下图:Provider是指某个iPhone软件的Push服务器,这篇文章我将使用.net作为Provider。APNS 是Apple Push Notification Service(Apple Push服务器)的缩写,是苹果的服务器。上图可以分...
分类:移动开发   时间:2014-11-21 18:32:50    阅读次数:245
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!