Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null); intent.setType(IMAGE_TYPE); startActivityForResult(intent, 2); ContentResolver r...
分类:
其他好文 时间:
2014-07-24 21:56:22
阅读次数:
222
unity3d的对象有field, property.一般要取得类的某个属性时,要使用GetType().GetField(xxx);许多教程都写用property.(坑)property 感觉是运行时的属性.(not sure!)ex:有个类xxxpublic class xxx{ public....
分类:
其他好文 时间:
2014-07-24 21:45:12
阅读次数:
243
这是显示端function load() { $.ajax({ type: "post", url: "http://localhost:63211/api/MeetingRoomService/AddMeetiong...
$filename = 'hehe.xls'; header ('Content-type: text/html; charset=UTF-8');header ( "Content-type:application/vnd.ms-excel; charset=UTF-8");header ( "C...
分类:
Web程序 时间:
2014-07-24 21:21:23
阅读次数:
161
1.man -t ls | ps2pdf -> ls.pdf生成pdf格式的ls帮助文件。
2. pushd . :将当前目录压入栈,使用popd可以回到该目录。
3.find -type f ! -perm -444:寻找所有不可读的文件(对网站有用)
4.find -type d ! -perm -111 寻找不可访问的目录(对网站有用)...
分类:
系统相关 时间:
2014-07-24 17:46:36
阅读次数:
266
首先是相册图片的获取:private final String IMAGE_TYPE = "image/*";private final int IMAGE_CODE = 0; //这里的IMAGE_CODE是自己任意定义的//使用intent调用系统提供的相册功能,使用startActivity....
分类:
移动开发 时间:
2014-07-24 17:30:35
阅读次数:
306
#include#includeusing namespace std;typedef int ElemType;typedef struct Node{ ElemType data; struct Node* next;}*LinkList,Node;LinkList LinkList...
分类:
其他好文 时间:
2014-07-24 17:19:15
阅读次数:
224
如何利用快捷键输出固定的代码,例如输入sysout,然后马上出现System.out.println(); 1:window—>preferences—>java—>editor—>templates,在templates中可以设置各种快捷键 2:window—>preferences—>在type...
分类:
系统相关 时间:
2014-07-24 17:10:35
阅读次数:
270
再者代码里面设置输入法类型:[java] editText.setInputType(EditorInfo.TYPE_CLASS_PHONE);editText.setInputType(EditorInfo.TYPE_CLASS_PHONE);则如果该EditText获得焦点,会弹出数字输入法的模...
分类:
移动开发 时间:
2014-07-24 17:08:45
阅读次数:
208
Alan Kay 第一个定义了面向对象的语言1.万物皆对象2.程序是对象的集合,他们彼此通过发送消息来调用对方.3.每个对象都拥有由其他对象所构成的存储4.每个对象都拥有其类型(TYpe)5.某一特定类型的所有对象都可以接收同样的消息.Booch提出一种更简洁的描述: 对象拥有状态(state) ....
分类:
编程语言 时间:
2014-07-24 17:02:25
阅读次数:
202