在这之前,你要知道Task就是一个堆栈,栈顶的activity就是当前显示的activity,启动一个新的activity的时,一般直接压入堆栈,并成为当前运行的activity,前一个activity仍然在堆栈中,按下back键时,当前activity出栈,而前一个恢复为当前运行的activity...
分类:
其他好文 时间:
2014-05-16 00:40:58
阅读次数:
521
1、LIBCD.lib(wincrt0.obj) : error LNK2001:unresolved
external symbol _WinMain@16 Debug/lizi.exe :【分析】:项目创建错误,因该选择Win32 Console
Project,而不是 Win32 Projec...
分类:
编程语言 时间:
2014-05-15 22:15:51
阅读次数:
290
介绍EditText颤抖的动画效果
Animation1.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except...
分类:
其他好文 时间:
2014-05-15 18:12:00
阅读次数:
345
QML与C++交互:在qml中使用QSqlQueryModel显示数据库数据
本文博客链接:http://blog.csdn.net/jdh99,作者:jdh,转载请注明.
参考链接:
http://qt-project.org/wiki/How_to_use_a_QSqlQueryModel_in_QML
环境:
主机:WIN7
开发环境:...
分类:
数据库 时间:
2014-05-15 13:07:37
阅读次数:
404
1.慢查询日志:slow_launch_time=2查询大于某个时间的值(单位:s)slow_query_log=on/off开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log慢查询日志位置2.连接数:max_connectionsMySQL最大连接数back_log当连接数满了后,设置一个值,允许多少个连接进入等待堆..
分类:
数据库 时间:
2014-05-15 12:44:41
阅读次数:
385
这期讨论了DLC(DLC:Downloadable Content
(可下载内容),亦可称“追加内容下载包”,或“可下载资料包”。)在美国,可以购买二手游戏光碟。在这种情况下,开发商一分钱都拿不到。所以游戏开发者想到了一个好点子:开发DLC。当二手玩家插入光碟开始游戏时,就会提示他需要10美金下载某...
分类:
其他好文 时间:
2014-05-15 07:27:56
阅读次数:
220
mod_python: the long story - Grisha
TrubetskoyMod_python: The Long StoryOct 25th, 2013 | CommentsThis story started
back in 1996. I was in my early tw...
分类:
编程语言 时间:
2014-05-15 01:46:29
阅读次数:
393
PHP 验证码(补充)1、改变验证码背景颜色:imagefill(图片,填充的宽,填充的高,颜色)
$back = imagecolorallocate($img,194,219,255);
imagefill($img,0,0,$back);2、字体颜色随机改变:rand(0,255) $col....
分类:
其他好文 时间:
2014-05-15 01:45:03
阅读次数:
322
使用Eclipse构建Maven的SpringMVC项目
问题一.2.3.2 配置Project Facets 更改Dynamic Web Module的Version为2.5,不能更改2.5的值
问题二.2.3.3 配置 Modify Faceted Project时,找不到Further configuration available…
问题三.建完spring项目后,如何打包发送到tomcat并运行?...
分类:
编程语言 时间:
2014-05-15 01:08:50
阅读次数:
317
描述把文本读出的API,在手机上测试知识支持英文,中文库应该没有所以不支持
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce...
分类:
移动开发 时间:
2014-05-14 21:34:49
阅读次数:
435