Intent inten = new Intent(
Intent.ACTION_PICK,MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(inte...
分类:
移动开发 时间:
2014-05-26 22:50:19
阅读次数:
369
In ActionTime Limit: 2000/1000 MS
(Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s):
3869Accepted Submission(s): 1237Problem D...
分类:
其他好文 时间:
2014-05-26 22:08:36
阅读次数:
257
0:38 2013/5/25查 找 * * |-_-查找全部
Action层的home方法中的查找方法创建时不需要带个查找对象的参数 service层不用组织条件 dao层一条查询所有的hql语句String hql =
"fro...
分类:
其他好文 时间:
2014-05-23 05:12:28
阅读次数:
266
Given n non-negative integers representing an
elevation map where the width of each bar is 1, compute how much water it is
able to trap after raining....
分类:
移动开发 时间:
2014-05-23 03:59:43
阅读次数:
364
如果想让表单不可输入的状态,我将表单设置为了:
style="cursor:not-allowed;" disabled
但是这样设置之后就发现,在后台的action怎么都没有办法获取到值。最后在网上搜了一下,说把disabled替换成readonly,替换完成后确实可以将值传递到后台,但是表单又可以获得焦点。获得焦点让人看的不舒服。但是项目紧,就先这样了把。
表单设置为disabled后...
分类:
其他好文 时间:
2014-05-23 02:17:44
阅读次数:
316
介绍在在title bar上显示indeterminate progress
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ...
分类:
其他好文 时间:
2014-05-23 00:31:27
阅读次数:
352
/*
* 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 in compliance with the License.
* Yo...
分类:
其他好文 时间:
2014-05-23 00:30:50
阅读次数:
415
修改/etc/udev/rules.d/60-raw.rules文件
# 现在我们把/dev/sdb1 知道到raw1上,就可以在/etc/udev/rules.d/60-raw.rules文件里添加如下内容:
[root@centos~]#vi /etc/udev/rules.d/60-raw.rules
Cat >> /etc/udev/rules.d/60-raw.rules<< EOF
ACTION=="add",KERNEL=="sdb1",RUN+="/bin/raw /dev/raw/r...
分类:
系统相关 时间:
2014-05-22 18:38:24
阅读次数:
400
1.打电话 可以自己写界面,在button的单击事件中添加如下代码即可: Intent intent
= new Intent(); intent.setAction("android.intent.action.CALL");
intent.setData(Uri.parse("tel:"+ .....
分类:
移动开发 时间:
2014-05-22 16:41:15
阅读次数:
473
An IEnumerable objectAn Action of T which is
used to process each item in the listList dataList = new List { "this", "is",
"random", "sentence...
分类:
Web程序 时间:
2014-05-22 16:01:17
阅读次数:
290