Intent inten = new Intent(
Intent.ACTION_PICK,MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(inte...
分类:
移动开发 时间:
2014-05-26 22:50:19
阅读次数:
369
[DllImport("user32.dll")]publicstaticexternIntPtrGetAncestor(IntPtrhWnd,intflags);vardialog=newC1ImageDialog();
window=newWindow();window.Content=dial...
//导出XLS文件 public function
dataToXls($filename,$fields,$data,$datasum=array()){ header("Content-Type:
application/vnd.ms-excel;charset=gbk");...
分类:
Web程序 时间:
2014-05-26 21:38:31
阅读次数:
302
互斥量与条件变量的区别转载自:http://www.360doc.com/content/12/0129/10/1317564_182456205.shtml前面谈过了线程锁,下面我们在继续研究一下线程锁;互斥量从本质上来说是一个锁,对互斥量加锁后任何其他试图给它加锁的线程都会被阻塞直至当前线程释放...
分类:
其他好文 时间:
2014-05-26 20:43:25
阅读次数:
252
如果要将查询结果导出到Excel,只需将页面的Context-Type修改一下就可以了:header( "Content-Type:
application/vnd.ms-excel">如果希望能够提供那个打开/保存的对话框,Content-Disposition参数,Content-Disposi...
分类:
其他好文 时间:
2014-05-26 15:51:15
阅读次数:
172
编号需要修改的代码1//// Prefix header//// The contents
of this file are implicitly included at the beginning of every source
file.//#import//服务器IP#define kXMPP...
分类:
移动开发 时间:
2014-05-26 14:51:52
阅读次数:
782
修改../conf/content.xml WEB-INF/web.xml -->
--> 并将ojdbc6.jar拷贝到tomcat的lib目录下,以上则配置好了Oracle数据源。在使用时需要在web.xml中加入: hpms...
分类:
数据库 时间:
2014-05-26 13:55:00
阅读次数:
365
介绍一个多选list
/*
* Copyright (C) 2008 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 th...
分类:
其他好文 时间:
2014-05-23 00:52:57
阅读次数:
455
ubuntu14.04安装成功后,平时的工作什么的都够用了,最近需要做一个测试,测试环境还必须是windows的。所以就准备整个虚拟机来,kvm跟vmware考虑再三,选择了vmware。vmware10的安装方法,就不做说明了。度娘或谷哥还是有蛮多方法。我这里所写的是,vmware安装后,启动时报错。..
分类:
其他好文 时间:
2014-05-22 18:16:05
阅读次数:
551
无序表的应用嵌套
<meta http-equiv="Content-Type" content="text/html; charset=...
分类:
Web程序 时间:
2014-05-22 17:07:28
阅读次数:
384