码迷,mamicode.com
首页 >  
搜索关键字:push notification    ( 13107个结果
android 序列化
package com.yunkapay.push.mobile.parcelable;import android.os.Parcel;import android.os.Parcelable;import android.util.Log;import com.yunkapay.push.mob...
分类:移动开发   时间:2014-05-16 06:09:04    阅读次数:542
UVa 10047 - The Monocycle
题目:在一个n*m的迷宫中有一个轮子,轮子的每个72°的扇面被涂上一种不同的颜色。             轮子可以移动到上下左右四个方向的格子中,每次移动到相邻格子中,轮子转动72°。             每个单位时间轮子可以做两种运动:             1.移动到相邻格子;2.改变朝向,面向原来的左、右方(朝向改变90°),但不转动。             初始时轮子在'...
分类:其他好文   时间:2014-05-15 12:28:14    阅读次数:450
Android 通知栏Notification的整合 全面学习 (一个DEMO让你完全了解它)
在android的应用层中,涉及到很多应用框架,例如:Service框架,Activity管理机制,Broadcast机制,对话框框架,标题栏框架,状态栏框架,通知机制,ActionBar框架等等。 下面就来说说经常会使用到通知机制中的通知栏框架(Notificaiton),它适用于交互事件的通知。它是位于顶层可以展开的通知列表。它会时不时的提醒你什么软件该更新了,什么人发你微信消息了等。 (...
分类:移动开发   时间:2014-05-15 12:14:36    阅读次数:473
记录开发过程中遇到的2个小bug
1、使用新建线程结合handler来更新UI线程中的 ListView,快速点击“刷新”,会出现下面的错误: ?? The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not mod...
分类:其他好文   时间:2014-05-15 02:30:17    阅读次数:254
operator->
在学习Stl的过程中,经常看到->符号的重载,但一直不太明白。 今天做了一个小测试,来看看如果调用它。 以list的迭代器为例,在 pointer operator->() const { return &(operator*());}中加入 cout str_list; str_list.push...
分类:其他好文   时间:2014-05-14 10:32:52    阅读次数:221
leetcode第一刷_Plus One
这种类似大整数的处理的问题还是比较常见的,这道题应该是非常简单的版本。 题目的要求是这样的,输入的vector靠前的位置是数字的高位,因此应该先求出长度,然后从后面往前算。维护一个变量保存进位,这我就不说了。结果的vector怎么办呢?因为最后有可能有个总的进位,比如999加1,结果的vector会比输入的多出一位,因此结果还是从前往后存简单一些。最后如果有进位,就多push_back一个1,然...
分类:其他好文   时间:2014-05-14 00:31:48    阅读次数:312
vargrind 安卓apk
上层为安卓, 下层为调用c/c++ 库 1、将vargind 按官网方法下载源码编译  得Inst目录 2、通过win 下安卓sdk 中 platform-tools 中的adb push Inst 到/data/local 下 3、可把adb.exe所在目录 设置到系统环境变量中 4、在cmd 中把执行adb push  Inst /data/local/ 5、adb sh...
分类:移动开发   时间:2014-05-13 14:03:30    阅读次数:445
ext store remove old datas load new datas优化
ext4.2需求:清空store1的数据,并把store2的数据加载到store1中。速度太慢,需要优化。原始代码:varstart1=newDate().getTime(); anlyGridStore.removeAll(); varstart2=newDate().getTime(); console.log(start2-start1);//614 analyses.each(function(record){ data.push..
分类:其他好文   时间:2014-05-13 03:54:42    阅读次数:255
0703-APP-Notification-statue-bar
1.展示显示textTicker和只有icon的两种情况:当参数showTicker为true时显示否则不显示 // In this sample, we'll use the same text for the ticker and the expanded notification CharSequence text = getText(textId); ...
分类:移动开发   时间:2014-05-13 00:02:35    阅读次数:465
SRM620
A处理ab,处理cd。然后查找。比赛的时候用的DFS,爆栈了==vector > V[2];void deal(int x,int y,vector > &V){ while(x>0&&y>0) { V.push_back(make_pair(x,y)); i...
分类:其他好文   时间:2014-05-11 23:39:44    阅读次数:436
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!