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
修改../conf/content.xml WEB-INF/web.xml -->
--> 并将ojdbc6.jar拷贝到tomcat的lib目录下,以上则配置好了Oracle数据源。在使用时需要在web.xml中加入: hpms...
分类:
数据库 时间:
2014-05-26 13:55:00
阅读次数:
365
package com.example.openstart;
import android.app.KeyguardManager;
import android.app.KeyguardManager.KeyguardLock;
import android.content.BroadcastReceiver;
import android.content.Context;
import and...
分类:
移动开发 时间:
2014-05-23 00:05:56
阅读次数:
281
注意两点
1.通过android:checkedButton="@+id/lunch"而不是item中的 android:checked="true"设置的某人被选中状态
<RadioGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
a...
分类:
其他好文 时间:
2014-05-23 00:04:35
阅读次数:
344
无序表的应用嵌套
<meta http-equiv="Content-Type" content="text/html; charset=...
分类:
Web程序 时间:
2014-05-22 17:07:28
阅读次数:
384