2014年9月16日

获得 LayoutInflater 实例的三种方式

摘要: 在实际开发中LayoutInflater这个类还是非常有用的,它的作用类似于findViewById()。不同点是LayoutInflater是用来找res/layout/下的xml布局文件,并且实例化;而findViewById()是找xml布局文件下的具体widget控件(如Button、Tex... 阅读全文

posted @ 2014-09-16 16:52 lizhangqu 阅读(109) 评论(0) 推荐(0) 编辑

2014年9月4日

CentOS 64位配置ftp 虚拟用户

摘要: 安装vsftpdyum install vsftpd安装db生成数据包yum install db4-utils进入ect/vsftpd目录新建user目录mkdir user新建chroot_list文件touch chroot_list修改配置文件 vim vsftpd.conf anonymo... 阅读全文

posted @ 2014-09-04 18:36 lizhangqu 阅读(165) 评论(0) 推荐(0) 编辑

2014年9月3日

centos下svn服务器的搭建

摘要: 安装yum install subversion进入/var目录创建svn目录mkdir svn继续创建文件夹repositoriesmkdir repositories进入该文件夹创建仓库zafusvnadmin create zafu启动服务svnserve -d -r /var/svn/rep... 阅读全文

posted @ 2014-09-03 10:57 lizhangqu 阅读(146) 评论(0) 推荐(0) 编辑

2014年8月12日

Spring之Bean配置

摘要: 实体类代码package cn.edu.zafu;public class Car { private String brand; private String corp; private double price; private int maxSpeed; public Car(String b... 阅读全文

posted @ 2014-08-12 12:47 lizhangqu 阅读(129) 评论(0) 推荐(0) 编辑

2014年8月10日

Spring之HelloWorld

摘要: 首先肯定是要导入依赖的spring包,采用spring4的包,为以后重复使用,此处采用User Libraries,打开eclispse->windows->prefrences->java->user libraries->new->输入spring->add external jars->将sp... 阅读全文

posted @ 2014-08-10 22:20 lizhangqu 阅读(121) 评论(0) 推荐(0) 编辑

2014年8月9日

wamp配置memcache

摘要: 首先下载memcache,使用命令安装memcached -d install启动服务memcached -d start然后下载对应的版本的php_memcache.dll放到ext目录,下载地址http://pan.baidu.com/share/link?shareid=2718974422&... 阅读全文

posted @ 2014-08-09 10:22 lizhangqu 阅读(126) 评论(0) 推荐(0) 编辑

2014年7月23日

HttpClient发起POST请求

摘要: 此函数返回请求结果public static String executePost(String url, List params) { HttpPost httpPost = new HttpPost(url); //post请求,设置URL地址 try { httpPost.setEn... 阅读全文

posted @ 2014-07-23 21:49 lizhangqu 阅读(219) 评论(0) 推荐(0) 编辑

2013年7月30日

NDK开发环境

摘要: 一、关于NDK:NDK全称:Native Development Kit。 1、NDK是一系列工具的集合。 NDK提供了一系列的工具,帮助开发者快速开发C(或C++)的动态库,并能自动将so和java应用一起打包成apk。这些工具对开发者的帮助是巨大的。 NDK集成了交叉编译器,并提供了相应的mk文... 阅读全文

posted @ 2013-07-30 19:33 lizhangqu 阅读(143) 评论(0) 推荐(0) 编辑

导航