一、下载ZBarSDK, 加入到工程中。二、配置TARGETS和PROJECT三、设置Link Binary With Libraries四、 .m文件#import "MQMainViewController.h"#import "ZBarSDK.h"@interface MQMainViewCo...
分类:
其他好文 时间:
2014-06-25 20:48:23
阅读次数:
322
Manufacturers of quality friendly nature of the project the bag high enough premium in style and comfort with the best features and style. Quality Con...
分类:
其他好文 时间:
2014-06-25 20:46:29
阅读次数:
210
当eclipse中新导入的Java Project的时候,往往会碰到各种各样的问题,下面是个典型的问题:
Cannot find the class file for javax.servlet.ServletContext.
如何解决该问题:
方案1. Project---》Properties--》Libraries 中添加
Tomcat中的 serverle...
分类:
编程语言 时间:
2014-06-25 00:16:45
阅读次数:
314
JavaScript获取某年某月的最后一天
1、实现源码
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in th...
分类:
编程语言 时间:
2014-06-24 22:36:13
阅读次数:
350
新建一个Java Project :LunceneTest
准备lucene的jar包,要加入的jar包至少有:
1)
lucene-core-3.1.0.jar (核心包)
2) lucene-analyzers-3.1.0.jar (分词器)
3) lucene-highlighter-3.1.0.jar (高亮器)
4) lucene-memory-3.1.0...
分类:
其他好文 时间:
2014-06-24 22:30:13
阅读次数:
328
项目因为要发布,所以要混淆打包。
混淆打包流程:
1.在proguard-project.txt文件中添加不需要混淆的类和第三方的jar包
这个是保持自己包中不需要混淆的类,如果有些类调用了jni也不需要混淆,不然会出错。还有如果项目中有其他项目作为library引入,那这些项目的一些类也不能混淆。
这个是保持项目中的第三方jar不混淆
另外加上上面几句话...
分类:
移动开发 时间:
2014-06-24 21:40:19
阅读次数:
262
原文地址:http://www.refactoring.com/catalog/moveMethod.html在类A中,当一个方法正在用,或者将要用到的功能和资源大部分存在于另一个类B中,而非A类中时,这时我们要考虑把这个方法移到B类中去。举一个例子: 1 class Project { 2 P.....
分类:
移动开发 时间:
2014-06-24 15:24:08
阅读次数:
289
Maven是基于项目对象模型的一个Apache开源项目。Maven的主要配置文件pom.xml就是项目模型的意思(Project Oriented Model),它是Apache Ant的衍生扩展。安装 Maven是一个Java工具,所以你必须首先安装Java所需运行环境。 1.解压apache.....
分类:
其他好文 时间:
2014-06-24 13:48:52
阅读次数:
205
原文:使用JustDecompile修改程序集 JustDecompile是Telerik公司推出一个免费的.net反编译工具,支持插件,与Visual Studio 2010,2012集成,能够创建Visual Studio project文件。今天我们使用其一个插件Assembly Editor...
分类:
其他好文 时间:
2014-06-24 11:49:04
阅读次数:
400
前话
Flume OG 也就是 Flume original generation 由 Cloudera公司开发,最新版本是0.9.4。而Flume NG 就是 Flume next generation, 大概在2011年6月份由 Cloudera贡献给开源社区,目前属于Apache的一个incubator project。官网:http://flume.appache.org/...
分类:
移动开发 时间:
2014-06-22 10:33:01
阅读次数:
266