码迷,mamicode.com
首页 >  
搜索关键字:service intent must    ( 30104个结果
Effective Java 68 Prefer executors and tasks to threads
The general mechanism for executing tasks is the executor service. If you think in terms of tasks and let an executor service execute them for you, yo...
分类:编程语言   时间:2014-05-05 23:32:44    阅读次数:389
[转载]GDI+中发生一般性错误
注:第一次写博客,把自己遇到的问题和收集的资料记录在博客上。在开发.NET应用中,使用 System.Drawing.Image.Save 方法而导致“GDI+ 中发生一般性错误”的发生,通常有以下三种原因:1. 相应的帐户没有写权限。解决方法:赋予 NETWORK SERVICE 帐户以写权限。2...
分类:其他好文   时间:2014-05-05 21:40:45    阅读次数:318
JBPM学习(二):ProcessEngine与Service API
1.获取processEngine的方法: a) 方法一 private ProcessEngine processEngine = new Configuration().setResource("jbpm.cfg.xml").buildProcessEngine(); b) 方法二 // 获取单例的ProcessEngine对象,使用的是默认的配置文件(jb...
分类:Windows程序   时间:2014-05-05 13:05:16    阅读次数:337
YouTrack Changing Database Location for EXE Distribution(windows service)
If you have installed YouTrack from EXE Distribution, then the best way to change the database location is by specifying it via JVM property.Stop curr...
分类:数据库   时间:2014-05-03 23:30:08    阅读次数:505
mysql学习之一:mysql安装
CentOS6和RHEL6系统的YUM中包含了MySQL安装包,版本是MySQL5。rpm软件包的名称是mysql-server。   使用以下命令可以安装MySQL数据库: yum install -y mysql-server 安装完成后我们可以通过以下命令启动MySQL服务: service mysqld start   第一次启动MySQL服务后,...
分类:数据库   时间:2014-05-03 21:14:54    阅读次数:462
Zxing图片识别 从相册选二维码图片解析总结
Zxing图片识别 从相册选取二维码图片进行解析总结 在Zxing扫描识别和图片识别的解析对象是相同的 本文分三个步骤: 1 获取相册的照片 2 解析二维码图片 3 返回结果 1) 获取相册照片 google对4.4的uri做了点改动 为了适配多种手机 需要做一个判断版本 在Activity中开启相册: Intent innerIntent = new Intent(); // "android.intent.action.GET_CONTENT" if (Build.VE...
分类:其他好文   时间:2014-05-03 17:36:19    阅读次数:389
mybatis--面向接口编程
如果使用hiberante作为dao层,常用的方式是:定义一个dao层接口包(com.dao.service)然后在定义一个dao层接口实现包(com.dao.service.impl),这样定义结构清晰,方便维护和开发工作。如果使用mybatis作为dao层,我们就可以省略到dao实现包,直接将sql实现在xml配置文件中编写,这样维护起来更方便了! 首先将mybatis整合到spring中:...
分类:其他好文   时间:2014-05-03 16:31:42    阅读次数:318
自动检测&后台复制光盘内容
原理:利用python的win32模块,注册服务,让代码在后台运行,检测光盘并拷贝文件 启动的方法就是直接在cmd下,main.py install ,然后去windows 的服务下就可以看到The smallestpossible Python Service 这个服务,你可以启动,停止,还可以设置成开机自动启动。启动服务后,会自动检测光盘并在后台拷贝文件 main.py import...
分类:其他好文   时间:2014-05-03 15:58:45    阅读次数:235
Leetcode:Subsets 求数组的所有子集
Given a set of distinct integers, S, return all possible subsets. Note: Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets. For exa...
分类:其他好文   时间:2014-05-03 15:47:53    阅读次数:289
如何架设内网ftp服务器 搭建ftp yum源
1、启动系统,我是用iso镜像挂载,挂载到/isomkdir/isomount-a-tiso9660-oloop/dev/cdrom/iso2、安装FTP服务(如果系统已带则在桌面管理-服务器设置-服务可以很方便的启动vsftpd服务)cd/iso/Packagesrpm-ivhvsftpd*chkconfigvsftpdonservicevsftpdstart3、安装createrepo的..
分类:其他好文   时间:2014-05-03 15:08:00    阅读次数:385
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!