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
使用ViewPager作为一个页面进行切换,里面可以存放很多View,但有时在操作View时不小心滑动一下就有可能跳到下一页,这并不是我们想要的,这里就需要重写ViewPager修改它的滑动条件
效果图
程序目录结构
BTViewPager.java
package com.example.viewpagerdemo;
import android.content.Con...
分类:
移动开发 时间:
2014-05-23 02:24:13
阅读次数:
297
今天在项目中遇到异常android.content.res.Resources$NotFoundException: String resource ID #0x42...
分类:
移动开发 时间:
2014-05-23 00:46:27
阅读次数:
282
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
easyUI tab href,content区别 。easyUI tab href 使用需注意问题。easyUI js方法重名无法调用 。...
分类:
其他好文 时间:
2014-05-22 23:27:34
阅读次数:
8271
无序表的应用嵌套
<meta http-equiv="Content-Type" content="text/html; charset=...
分类:
Web程序 时间:
2014-05-22 17:07:28
阅读次数:
384