实现全屏的代码:
// 全屏显示
requestWindowFeature(Window.FEATURE_NO_TITLE);
//turning off the title at the top of the screen.
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.Lay...
分类:
移动开发 时间:
2015-03-27 22:25:15
阅读次数:
273
题目链接:count-and-say
/**
*
The count-and-say sequence is the sequence of integers beginning as follows:
1, 11, 21, 1211, 111221, ...
1 is read off as "one 1" or 11.
11 is read off as "...
分类:
其他好文 时间:
2015-03-22 09:10:31
阅读次数:
217
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1 is read off as "one 1" or 11.11 is read off ...
分类:
其他好文 时间:
2015-03-20 17:56:42
阅读次数:
99
1,my first app(connected with pc)2,auto update3,reboot and power off.selenium
分类:
其他好文 时间:
2015-03-19 20:10:17
阅读次数:
127
待机后,重新进入,发现数据丢失,通过打印信息发现,原来是activity被回收掉了。为了避免数据的丢失,在androidmanifest.xml的activity中加入android:configChanges="orientation|keyboardHidden|screenSize"
分类:
其他好文 时间:
2015-03-19 13:07:28
阅读次数:
120
将下面的这段断码直接复制然后在dos下粘贴即可开启WiFi啦!(对了,ssid表示你要取的WiFi名称, key表示密码,祝你好运!) @echo off netsh wlan set hostednetwork mode=allow netsh wlan set hostednetwork s...
分类:
其他好文 时间:
2015-03-18 18:44:05
阅读次数:
225
boolHelloWorld::init()
{
if(!Layer::init())
{
returnfalse;
}
//按纽触发器的使用
CCMenuItemLabel*labelMenu=CCMenuItemLabel::create(Label::create("ON","",30));
CCMenuItemLabel*labelMenu1=CCMenuItemLabel::create(Label::create("OFF","",30));
CCMenuItemToggle*to..
分类:
其他好文 时间:
2015-03-18 18:36:29
阅读次数:
135
安装完apache一般第一时间都是关闭apache的版本信息,黑客会通过apache暴露出来的信息针对性的入侵,为了服务器的安全这些信息一定要及时关闭。1、隐藏PHP版本 修改php.ini expose_php = On 为expose_php = Off 重启服务器后查看Response...
分类:
Web程序 时间:
2015-03-17 23:14:21
阅读次数:
579
一、Spool常用的设置set arraysize 5000; //此参数可提高SPOOL卸载的速度,最大可以设置为5000 set autotrace on; //设置允许对执行的sql进行分析set colsep ','; //域输出分隔符set echo off; //显示star...
分类:
数据库 时间:
2015-03-17 21:46:10
阅读次数:
181
ICS相关度的检测1、ICS开关要关闭,否则就会因为信号对消而检测不到。5、网分用法时延测试:Format ->DelayScale Ref -> AUTO SCALEMarker Search -> TRACKING【ON OFF】这样以后把Marker 调到子带上增益测试:Formate ->G...
分类:
其他好文 时间:
2015-03-17 19:48:29
阅读次数:
146