fill_parent在全体系的Android版本中通过,match_parent使用在Android 2.2及以上版本。两者作用一致。1)fill_parent主动方:父组件被动方:子组件1.在高度或者宽度上设置为fill_parent,则子组件的高度或者长度根据父组件的值而定。通常值与父组件相等...
分类:
移动开发 时间:
2014-07-16 23:00:58
阅读次数:
210
SQLite数据库直接操作类:DatabaseHelper.java[java]view plaincopypackagecom.jacp.database;importandroid.content.Context;importandroid.database.sqlite.SQLiteDatab...
分类:
移动开发 时间:
2014-07-11 19:32:13
阅读次数:
215
DockPanel的基本使用 我就不说了,网上很多,我想说的是在使用DockPanel时 需要注意的几个小问题第一个:使用过DockPanel的人,都有可能会遇到这样一个错误:Invalid Content: ActiveContent must be one of the visible cont...
分类:
其他好文 时间:
2014-07-11 12:06:03
阅读次数:
414
使用mybatis向数据库中插入一条记录,如何获取成功插入记录的自增长id呢?需要向xml配置中加上一下两个配置: insert into scheduleInfo(title,content,time,state,userId) values(#{title},#{content},#{ti...
分类:
其他好文 时间:
2014-07-11 10:25:45
阅读次数:
152
Spring使用AnnotationMethodHandlerAdapter的handleResponseBody方法, AnnotationMethodHandlerAdapter使用request
header中"Accept"的值和messageConverter支持的MediaType进行匹配,然后会用"Accept"的第一个值写入 response的"Content-Type"。一般...
分类:
编程语言 时间:
2014-07-11 00:17:02
阅读次数:
724
package com.lengxiaocai.myutil.screentool;
import android.content.Context;
/**
*
* @ClassName: ScreenTool
*
* @Description: 屏幕像素检测
*
* @author yazhizhao
*
* @date 2014-5-6 上午11:47:07
*/...
分类:
移动开发 时间:
2014-07-10 23:40:58
阅读次数:
340
import android.content.Context;
import android.os.AsyncTask;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.VelocityTracker;
import android.view.View;
import an...
分类:
移动开发 时间:
2014-07-10 20:54:18
阅读次数:
259
JNIEXPORTjintJNICALLJava_com_encrypt_EncryptActivity_cputExtra(JNIEnv*env,jobject,jobjectmContext,jstringactionName,jobjectArraykey,jobjectArrayvalue){//找到Intent类jclassintentClass=env->FindClass("android/content/Intent");if(intentClass==0){return0;}jo..
分类:
其他好文 时间:
2014-07-10 19:15:10
阅读次数:
601
1. Poweshell 对 Site Column的完整操作
2. Powershell 对 Content Type的完整操作
3. Powershell 对 List 的完整操作
4. Powershell 对 Web Part(页面)操作
5. Powershell 对 Security Group操作...
分类:
其他好文 时间:
2014-07-09 12:29:39
阅读次数:
372
CREATE TABLE tmp AS SELECT id FROM get_review_url WHERE (no,title,name,content) IN (SELECT no,title,name,content FROM get_review_url GROUP BY no,title,name,content HAVING
COUNT(*) > 1) AND id NOT I...
分类:
数据库 时间:
2014-07-09 11:46:16
阅读次数:
197