1 public static boolean isBackground(Context context) { &nb…
先创建导出Excel的工具类,并带泛型,实体一定要生成属性的get方法,就是普通的Javabean,后面的就是个人发挥了,废话不多说,直接上代码: public class Exp…
Http协议的重要性相信不用我多说了,HttpClient相比传统JDK自带的URLConnection,增加了易用性和灵活性(具体区别,日后我 们再讨论),它不仅是客户端发送Ht…
/** 从assets 文件夹中读取文本数据 */ public static String getTextFromAssets(final Context context, St…
Android下拉/上拉刷新ListView之Android-PullToRefresh Android下拉和上拉刷新ListView列表内容的的一个优秀开源框架,在github上…
/** * 解压一个压缩文档 到指定位置 * * @param zipFileString 压缩包的名字 * @param outPathString 指定的路径 * [url=h…
通过重写HttpSessionListener接口实现 //session操作类 public class SessionMap { private static Map<S…
public static void sortFiles(File[] files) { Arrays.sort(files, new Comparator<File>…
后台Conroller import java.io.File; import java.io.FileInputStream; import java.io.FileOutput…
public static boolean checkChinese(String sequence) { final String format = "[\\u4E00…
PackageManager pm = getPackageManager(); for (ApplicationInfo app : pm.getInstalledApplica…
public static ArrayList<String> getActivities(Context ctx) { ArrayList<String>…
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Excellent blog here Also your website loads up very fast What web host are you using Can I get your affiliate link to your host I wish my web site loaded up as quickly as yours lol