码迷,mamicode.com
首页 >  
搜索关键字:back space键    ( 14541个结果
android4.0下如何判断手机是否有底部物理按键(menu物理按键)
某些手机底部是在触摸屏内部有软按键,就是如(back,home,menu 等)而有的手机底部(非屏幕内部)有物理按键,就是生产厂商不愿意有google自带的虚拟按键,而做的电容式的物理按键,如(back,home,menu 等)android4.0下可以用此判断是否有物理按键:ViewConfigu...
分类:移动开发   时间:2014-07-07 10:11:59    阅读次数:221
openfire 安装报这个错误 A connection to the database could not be made。。。
openfire 安装报这个错误 A connection to the database could not be made. View the error message by opening the "\logs\error.log" log file, then go back to fix...
分类:数据库   时间:2014-07-06 16:43:00    阅读次数:284
vector
vector是我使用比较多的一个容器,它相当于一个动态的数组,在STL中给他提供了很多接口,简单易懂,接下来简单的演示一下它是如何使用的。 我一般使用的一些函数接口有size(),reserve(),empty(),begin(),end(),push_back(),find(),erase(...
分类:其他好文   时间:2014-07-05 22:27:43    阅读次数:276
马哥学习笔记三十二——计算机及操作系统原理
缓存方式: 直接映射 N路关联缓存策略: write through:通写 write back:回写进程类别: 交互式进程(IO密集型) 批处理进程(CPU密集型) 实时进程(Real-time)CPU: 时间片长,优先级低IO:时间片短,优先级高Linux优先级:priority ...
分类:其他好文   时间:2014-07-05 22:06:21    阅读次数:357
Android按返回键退出程序但不销毁,程序后台运行,同QQ退出处理方式
1 @Override2 public boolean onKeyDown(int keyCode, KeyEvent event) {3 if (keyCode == KeyEvent.KEYCODE_BACK) {4 moveTaskToBack(...
分类:移动开发   时间:2014-07-03 20:03:49    阅读次数:247
SPOJ 8222 NSUBSTR Substrings
Substrings Time Limit: 1000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu [Submit]   [Go Back]   [Status]   Description You are given a string S which cons...
分类:其他好文   时间:2014-07-03 16:52:59    阅读次数:166
std::vector<std::vector<> >
上次看到这个有点晕了,其实这个vector保存的是std::vector#include #include using namespace std;int main(){ std::vector > num; std::vector a(10, 5); num.push_back(...
分类:其他好文   时间:2014-07-02 20:14:53    阅读次数:182
history
function next(){//前进window.history.forward();}function previous(){//后退window.history.back();}function jump(){//指定前进或后退页面数var num = document.getElement...
分类:其他好文   时间:2014-07-02 10:18:47    阅读次数:215
UVA10537 Toll! Revisited
difkstra + 路径输出 The Toll! Revisited Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu [Submit]   [Go Back]   [Status]   Description Probl...
分类:其他好文   时间:2014-07-02 09:30:51    阅读次数:371
回调-> 观察者模式->反应堆模式
关于回调: 回调是观察者模式以及反应堆模式的基础 一句话,回调就是一种双向调用模式,什么意思呢,就是说,被调用方在被调用时也会调用对方,这就叫回调。“If you call me, i will call back”。 先看看这个可以说比较经典的使用回调的方式: 背景1:class A 实...
分类:其他好文   时间:2014-07-01 12:14:40    阅读次数:198
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!