SystemUI上的时间显示只要就在/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java类上
效果图
这个类也很简单,监听处理广播
@Override
protected void onAttachedToWindow() {
super.onAttache...
分类:
移动开发 时间:
2015-04-03 19:26:55
阅读次数:
317
linux下IPTABLES配置详解如果你的IPTABLES基础知识还不了解,建议先去看看.开始配置我们来配置一个filter表的防火墙.(1)查看本机关于IPTABLES的设置情况[root@tp ~]# iptables -L -nChain INPUT (policy ACCEPT)targe...
分类:
系统相关 时间:
2015-04-02 18:48:21
阅读次数:
202
1、限制用户的下载5m(1)、针对一个class限速switch(config)#access-list101permitipanyhost10.10.10.100switch(config)#class-mapmatch-alldown1switch(config-cmap)#matchaccess-group101switch(config)#policy-mapdownswitch(config-pmap)#classdown1switch(config-pmap-c)#p..
分类:
系统相关 时间:
2015-04-02 06:46:44
阅读次数:
280
1、限制用户的下载5m(1)、针对一个class限速switch(config)#access-list101permitipanyhost10.10.10.100switch(config)#class-mapmatch-alldown1switch(config-cmap)#matchaccess-group101switch(config)#policy-mapdownswitch(config-pmap)#classdown1switch(config-pmap-c)#p..
分类:
系统相关 时间:
2015-04-01 20:15:40
阅读次数:
241
alps\frameworks\base\policy\src\com\android\internal\policy\impl\PhoneWindowManager.java
package com.android.internal.policy.impl;
public class PhoneWindowManager implements WindowManagerPolicy {
...
分类:
移动开发 时间:
2015-03-17 20:14:35
阅读次数:
393
android网络编程发生android.os.NetworkOnMainThreadException处理办法。在进行连接操作前加上StrictMode.ThreadPolicypolicy=newStrictMode.ThreadPolicy.Builder().permitAll().build();StrictMode.setThreadPolicy(policy);
分类:
移动开发 时间:
2015-03-14 20:15:58
阅读次数:
127
Opening a file from a DFS domain share shows a security warning while openning from the server share directly doesn't.To solve this problem, add "*.do...
分类:
Web程序 时间:
2015-03-13 01:35:00
阅读次数:
144
如果出现这种情况,第一个选择是:
在数据库用户管理中去掉了“强制密码过期”!
如果把“强制实施密码策略”的勾也去掉了,出现如下错误!
当 MUST_CHANGE 为 ON (开)时,不能将 CHECK_POLICY 和 CHECK_EXPIRATION 选项设为 OFF (关)。
把用户:"删除重建"
如果不可以那么继续第二个:
通过windows 身份...
分类:
数据库 时间:
2015-03-12 19:18:35
阅读次数:
281