03 2016 档案
Jsoup的demao
摘要:package com.ch.jsoupdemo; import java.io.IOException; import org.jsoup.Jsoup;import org.jsoup.nodes.Document; import android.os.Bundle;import android.
阅读全文
Android中ListView放入PopupWindow产生问题解决
摘要:今天在做项目时候发现将ListView放入PopupWindow产生问题,ListView放入PopupWindow后 对PopupWindow设置了setFocusable(true)这时候其他的控件全部没有响应了! 我的解决方案是,ListView放入PopupWindow后对你对PopupWi
阅读全文
Xlistview刷新
摘要:Pullable.java; PullableListView.java package com.chen.listTongyong; import com.exaple.tong.Pullable; import android.content.Context;import android.uti
阅读全文
XMl的解析简单的方法
摘要:首先需要jia包 xstream-1.4.7.jar Vo类 package com.zld.day06_03zk3demo.bean; import java.io.Serializable; import java.util.List; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.though...
阅读全文
XMl的解析
摘要:MainActivitypackage com.example.secondweek_test2; import java.io.BufferedInputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io...
阅读全文
HorizontalScrollView的配置
摘要:package com.exmple.jinritoutiao; import java.util.ArrayList;import java.util.Calendar;import java.util.List; import com.exmple.apa.BaseApalistce;impor
阅读全文
夜间模式
摘要://定义的类 package Night1; import android.content.Context;import android.content.SharedPreferences;import android.content.SharedPreferences.Editor;import
阅读全文
侧滑
摘要:package com.zs.ce; import java.util.ArrayList; import android.app.Activity;import android.os.Bundle;import android.view.MotionEvent;import android.vie
阅读全文
数据库的简单语句
摘要:增:insert into 表名 (字段名) values (?,?,?)删:delete from 表名 where 字段=?改:update 表名 set 字段=? where 条件=?查:select * form 表名(*可以更改为想要查找的内容)精确查询:select * form 表名
阅读全文
读取文件,截取字符串
摘要:import java.io.BufferedReader;import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.IOException;impor
阅读全文
浙公网安备 33010602011771号