会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
cunzai201206
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2016年11月1日
Android-支持Java8
摘要: 1.
阅读全文
posted @ 2016-11-01 15:12 cunzai201206
阅读(292)
评论(0)
推荐(0)
编辑
Android-二维码
摘要: 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)
编辑
2016年10月24日
Hibernate 获取Session
摘要: 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)
编辑
Hibernate 配置
摘要: <!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)
编辑
Hibernate search-搜索
摘要: 一、精确搜索 FullTextSession fullTextSession = Search.getFullTextSession(session); Transaction tx = fullTextSession.beginTransaction(); QueryBuilder qb = fu
阅读全文
posted @ 2016-10-24 15:45 cunzai201206
阅读(314)
评论(0)
推荐(0)
编辑
2016年9月30日
错误处理
摘要: 错误级别 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)
编辑
2016年9月27日
延时
摘要: 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)
编辑
2016年9月23日
网络
摘要: 源码 权限 <uses-permission android:name="android.permission.INTERNET"></uses-permission>
阅读全文
posted @ 2016-09-23 17:28 cunzai201206
阅读(118)
评论(0)
推荐(0)
编辑
Android-获取IP
摘要: 依赖 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)
编辑
android-res-ic_launcher
摘要: mdpi 48px hdpi 72px xhdip 96px xxhdip 144px xxxhdip 192px
阅读全文
posted @ 2016-09-23 11:15 cunzai201206
阅读(78)
评论(0)
推荐(0)
编辑
上一页
1
2
3
下一页
公告