首页 > 2014年12月20日 > 全部分享
android线程通信之Handler
android中线程分为两种:1)系统创建的用于处理UI界面和用户交互事件的主线程2)自己创建的用于实现其他业务的子线程UI中的控件是线程不安全的,只能在主线程中操作控件,不能在其他子线程中直接操作控件。如果想在其他线程中操作主线程中的控件,只能通过发送一个消息告诉主线程去更新界面。为了便于在线程间...
分类:移动平台   时间:2014-12-20 20:52:49    收藏:0  评论:0  赞:0  阅读:316
mongodb
数据库系统性能、负载和容量Cursor IsolationBecause the cursor is not isolated during its lifetime, intervening write operations on a document may result in a cursor...
分类:数据库技术   时间:2014-12-20 20:52:40    收藏:0  评论:0  赞:0  阅读:316
关于Eclipse插件开发-----加入首选项(preferencePages)
选择主菜单"窗口---->首选项"命令打开"首选项"窗口.此窗口是Eclipse设置项的集中营,修改plugin.xml文件,设置首选项的扩展点:plug.xml文件 ...
分类:系统服务   时间:2014-12-20 20:52:29    收藏:0  评论:0  赞:0  阅读:595
使用ExifInterface设置Datetime发生的问题
最近在弄一个Android小程序,需要把图像的生成时间设置到Exif的Datetime,用ExifInterface.setAttribute(ExifInterface.TAG_DATETIME,"2014/12/12 12:12:12")这种设置方式没有用,程序执行没有任何错误,也没有任何作用,...
分类:其他   时间:2014-12-20 20:52:11    收藏:0  评论:0  赞:0  阅读:1320
Linux Repositories 2
上一章讲的设置[main]部分的选项,这章介绍设置[repository]选项部分的值[repository]部分,这里repository是一个独一无二的repository ID,比如my_personal_repo(空格是不允许的),这样可以定义一个单独的yum repository每个[re...
分类:系统服务   时间:2014-12-20 20:51:19    收藏:0  评论:0  赞:0  阅读:297
LeetCode: Maximum Subarray 解题报告
Maximum SubarrayFind the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [...
分类:其他   时间:2014-12-20 20:51:12    收藏:0  评论:0  赞:0  阅读:413
跨域(六)——window.name
window.name也可以进行跨域数据传输。下面是相应的代码,evil.html跨域读取foo.html的数据,其中proxy.html和evil.html同域,没有任何内容。evil.html:foo.html:
分类:Windows开发   时间:2014-12-20 20:50:59    收藏:0  评论:0  赞:0  阅读:307
hibernate session method
import static org.junit.Assert.*;import java.io.FileInputStream;import java.util.Date;import org.hibernate.Session;import org.hibernate.SessionFactory...
分类:Web开发   时间:2014-12-20 20:50:49    收藏:0  评论:0  赞:0  阅读:291
新增修改删除等方法
//创建datatableDataTable dt = new DataTable("个人简历"); dt.Columns.Add("id", typeof(int)); dt.Columns.Add("name", typeof(string)); ...
分类:其他   时间:2014-12-20 20:50:42    收藏:0  评论:0  赞:0  阅读:245
物联网时代之一
EPC(Electric Product Code),是一个物联网的感应层的标准,主要是来定义了如何来定义电子标签,里面包括了很多的规则。 物联网分为三层:感知层,网络层以及应用层。感知层是物和物直接接触层,就像战争的前线战场一样,比如我们坐的公交车,IC卡和接收器就是在感知层,就是物和物之间彼此感...
分类:其他   时间:2014-12-20 20:50:29    收藏:0  评论:0  赞:0  阅读:354
[转载]Centos6.5 WIFI无线网卡BCM43142驱动安装
FROM:http://www.gejoin.com/archives/1533设备型号:DELL V2420Broadcom 网卡型号:BCM43142lspci|grep Broadcom07:00.0 Network controller: Broadcom Corporation BCM43...
分类:其他   时间:2014-12-20 20:50:11    收藏:0  评论:0  赞:0  阅读:2643
BZOJ1189: [HNOI2007]紧急疏散evacuate
题解:刚开始一直在想堵在一块儿的情况怎么办?发现不会。。。结果看题解发现不用考虑T_T http://blog.sina.com.cn/s/blog_76f6777d01015ogm.html代码:调的蛋疼。。。 1 #include 2 #include 3 #include 4 #inc...
分类:其他   时间:2014-12-20 20:49:59    收藏:0  评论:0  赞:0  阅读:357
Tyvj P1813 [JSOI2008]海战训练
P1813[JSOI2008]海战训练时间: 1000ms / 空间: 131072KiB / Java类名: Main描述为了准备高层峰会,元首命令武装部队必须处于高度戒备。警察将监视每一条大街,军队将保卫建筑物,领空将布满了JS-2008飞机。此外,巡洋船只和舰队将被派去保护海岸线。但不幸的是因...
分类:Web开发   时间:2014-12-20 20:49:49    收藏:0  评论:0  赞:0  阅读:355
Android 拦截短信
public class SMSMess extends BroadcastReceiver {@Overridepublic void onReceive(Context arg0, Intent arg1) {Bundle b=arg1.getExtras();if (b!=null){//从d...
分类:移动平台   时间:2014-12-20 20:49:29    收藏:0  评论:0  赞:0  阅读:280
apple pay,-->牛逼,
转:http://www.mpaypass.com.cn/news/201410/29134818.html关于Apple Pay的详细流程和利害解析来源:爱范儿作者:康上明学 2014-10-29 13:31:10 编者按:本文作者康上明学为“小米生活”产品经理,在苹果Apple Pay发布后,....
分类:移动平台   时间:2014-12-20 20:49:09    收藏:0  评论:0  赞:0  阅读:381
php笔记
php输出 echo" "?>后面不能有空格!!!变量定义:$name="pstree";输出:echo $name;//输出变量var_dump($name);//输出数组,并打印类型和长度print_f($name);//输出数组$a="a";$b="b";printf("---%s---%s-...
分类:Web开发   时间:2014-12-20 20:48:59    收藏:0  评论:0  赞:0  阅读:415
stop(true,true)
$(".gdxw").hover(function(){$(".gdbox").stop(true,true).slideDown(300)},function(){$(".gdbox").stop(true,true).slideUp(300)})$(".gdpd").hover(function...
分类:其他   时间:2014-12-20 20:48:51    收藏:0  评论:0  赞:0  阅读:300
FIS 使用
fis releasefis server startfis release -Dd D:/***?__inlineroadmapless
分类:其他   时间:2014-12-20 20:48:39    收藏:0  评论:0  赞:0  阅读:195
focus on these tools
http://www.oschina.net/p/dubbohttp://www.blogjava.net/hispark/archive/2008/12/01/243310.htmlhttp://www.kafeitu.me/activiti/2012/03/22/workflow-activit...
分类:其他   时间:2014-12-20 20:48:29    收藏:0  评论:0  赞:0  阅读:271
bzoj3747 [POI2015]Kinoman
Description共有m部电影,编号为1~m,第i部电影的好看值为w[i]。在n天之中(从1~n编号)每天会放映一部电影,第i天放映的是第f[i]部。你可以选择l,r(1#include#define LL long longusing namespace std;inline LL read(...
分类:其他   时间:2014-12-20 20:48:19    收藏:0  评论:0  赞:0  阅读:316
920条   上一页 1 ... 7 8 9 10 11 ... 46 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!