码迷,mamicode.com
首页 >  
搜索关键字:notification bar    ( 6549个结果
显示滚动条后,table 表头与内容不对齐,JS脚本控制
/*设置高度、滚动条*/ //其他DIV 高度 var tbheight = document.getElementById("div_top").scrollHeight + document.getElementById("div_tools_bar...
分类:Web程序   时间:2014-05-16 06:36:06    阅读次数:383
Android判断Navigation Bar 是否透明
设置Navigation Bar 透明 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);或者Theme中添加  true /** * Convenience function to set the flag bits as specified in flags, as ...
分类:移动开发   时间:2014-05-15 18:15:56    阅读次数:631
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
Hive常用命令
创建表: hive> CREATE TABLE pokes (foo INT, bar STRING);          Creates a table called pokes with two columns, the first being an integer and the other a string 创建一个新表,结构与其他一样 hive> create table n...
分类:其他好文   时间:2014-05-15 07:07:58    阅读次数:303
记录开发过程中遇到的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
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
小结Android和iOS中LocalNotification
用Unity开发游戏,总难免要用到Native Development,比如Notification功能。本文只对LocalNotification进行小结,iOS上RemoteNotification在此未讨论。(后面发现Unity已经把iOS部分给封装好了)Notification大致提供了两个...
分类:移动开发   时间:2014-05-12 11:38:52    阅读次数:479
javascript的hoisting机制
javascript解释器中存在一种变量声明被提升(hoisting)的机制,即变量(函数)的声明会被提升到作用域的最前面。即使把声明代码写在最后面。 alert(foo); //function foo(){} alert(bar); //undefined var bar = func...
分类:编程语言   时间:2014-05-12 00:42:19    阅读次数:369
ZPush--基于netty4实现的苹果通知推送服务(APNs)Java客户端
简单说下实现苹果通知推送服务(APNs)客户端的一些要注意的地方: 使用长连接;sanbox服务器是没用的,调试时直接用“gateway.push.apple.com”域名;对于错误的Notification,苹果会回应一个Error response,里面有个identifier,在这个identifier之后的Notification全都失败; 因此发送者要缓存已经发送的Not...
分类:移动开发   时间:2014-05-10 03:33:21    阅读次数:473
6549条   上一页 1 ... 651 652 653 654 655 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!