有时我们在做多行EditText的时候会出现光标在中间的问题:
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minLines="5"
android:background="#ffffff"
android:paddi...
分类:
其他好文 时间:
2014-07-31 21:03:17
阅读次数:
308
前言:手机app应用评论的时候,恢复表情符号,提示失败。?1,查看tomcat后台日志,核心报错信息如下: Caused by: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x97\xF0\x9F...' for column 'CONTENT' at row 1at com.mysql.jdbc.SQLError.c...
分类:
数据库 时间:
2014-07-31 20:49:17
阅读次数:
355
现在的CMS系统、博客系统、BBS等都喜欢使用标签tag作交叉链接,因此我也尝鲜用了下。但用了后发现我想查询某个tag的文章列表时速度很慢,达到5秒之久!百思不解(后来终于解决),我的表结构是下面这样的,文章只有690篇。文章表article(id,title,content)标签表tag(tid,...
分类:
数据库 时间:
2014-07-31 20:32:57
阅读次数:
352
1.append(content|fn)概述向每个匹配的元素内部追加内容。这个操作与对指定的元素执行appendChild方法,将它们添加到文档中的情况类似。2.appendTo(content)概述把所有匹配的元素追加到另一个指定的元素元素集合中。实际上,使用这个方法是颠倒了常规的$(A).app...
分类:
Web程序 时间:
2014-07-31 20:01:27
阅读次数:
164
第一页面html ${answer.content}
${answer.content}
第二循环压缩${answer.content}内容中的大图片
jQuery(function(){
setTimeout('imgLoad()'1000)//延长加载一分钟
});
function 'imgLoad(){//页面加载时循环遍历压缩adm...
分类:
Web程序 时间:
2014-07-31 17:14:25
阅读次数:
254
header("Content-type:text/html; charset=utf-8");
/**
*
* @category contry_category 实现一个无限级别分类,类似种类的划分,常用在栏目导航
*
*/
/**
+--------------------------------------------------------------...
分类:
Web程序 时间:
2014-07-31 13:22:36
阅读次数:
220
接通过ImageView创建一个全屏的图片: 新建activity:package com.example.testwelcome;import android.app.Activity;import android.content.Intent;import android.os.Bundl...
分类:
移动开发 时间:
2014-07-31 13:06:56
阅读次数:
222
$("#lblContents :checkbox").each(function () { if (this.checked) { this.checked = false; ids =""; } else { this.checked = true; ids += $(this)....
分类:
其他好文 时间:
2014-07-31 12:15:46
阅读次数:
237
1、原始界面package com.fish.helloworld;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.view.Menu;import a...
分类:
移动开发 时间:
2014-07-30 23:49:05
阅读次数:
360
Android 四大组件:1.Activity -------构建应用程序界面2.Intent--------程序之间传输数据3.Service--------不可见,在后台为应用程序提供服务4.Content Provider------提供数据的接口创建Activity 的要点:1,一个Acti...
分类:
移动开发 时间:
2014-07-30 23:43:25
阅读次数:
294