摘要: 1. 阅读全文
posted @ 2016-11-01 15:12 cunzai201206 阅读(292) 评论(0) 推荐(0) 编辑
摘要: lib 1.core-3.3.0.jar 2.zxing-android-core-3.3.0.jar 阅读全文
posted @ 2016-11-01 13:58 cunzai201206 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Configuration cfg = null; SessionFactory factory = null; Session session = null; Transaction tx = null; @Before public void init(){ cfg = new Configur 阅读全文
posted @ 2016-10-24 15:47 cunzai201206 阅读(110) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-configuration-3.0. 阅读全文
posted @ 2016-10-24 15:46 cunzai201206 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 一、精确搜索 FullTextSession fullTextSession = Search.getFullTextSession(session); Transaction tx = fullTextSession.beginTransaction(); QueryBuilder qb = fu 阅读全文
posted @ 2016-10-24 15:45 cunzai201206 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 错误级别 E_WARNING E_NOTICE E_USER_ERROR 致命错误 。。。 错误相关函数 die("错误"); = echo "错误"; exit(); 自定义错误处理方法 function my_error($errornum,$errmsg){//$errornum:错误号,er 阅读全文
posted @ 2016-09-30 10:40 cunzai201206 阅读(104) 评论(0) 推荐(0) 编辑
摘要: package com.cz.czapp.util;import android.app.Activity;import android.content.Intent;import android.os.CountDownTimer;import com.cz.czapp.activity.WebV 阅读全文
posted @ 2016-09-27 10:13 cunzai201206 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 源码 权限 <uses-permission android:name="android.permission.INTERNET"></uses-permission> 阅读全文
posted @ 2016-09-23 17:28 cunzai201206 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 依赖 compile files('libs/httpclient-4.5.2.jar') 源码public static String getLocalIpAddress(){ try { for (Enumeration<NetworkInterface> en = NetworkInterfa 阅读全文
posted @ 2016-09-23 15:51 cunzai201206 阅读(109) 评论(0) 推荐(0) 编辑
摘要: mdpi 48px hdpi 72px xhdip 96px xxhdip 144px xxxhdip 192px 阅读全文
posted @ 2016-09-23 11:15 cunzai201206 阅读(78) 评论(0) 推荐(0) 编辑