做android开发的都知道,我们在主线程中不能进行耗时太久的操作,否则就可能报ANR,所有耗时的操作都要异步进行。android中的异步方法 也很多,可…
java程序员在实际的开发中会遇到很多的单位换算问题。今天我给大家带来的是关于计算机硬盘大小的换算。多数情况下,一般要求 b,kb,mb,gb,tb,pb之间的大小转换,我们都知道…
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android=&qu…
写了如下工具类: public class SystemUtil { public static String getRandomNumberByNum(int num) { St…
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android=&qu…
Android中按图片像素缩放图片的一种方法。通过这种方式,可以按像素缩放图片,巧妙避免加载大图可能发生OOM的情况。 try { BitmapFactory.Options op…
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android=&qu…
Android剪裁图片简单的方法 /** * 按正方形裁切图片 */ public static Bitmap ImageCrop(Bitmap bitmap) { int w =…
方法一:(不弹框) private final static int kSystemRootStateUnknow = -1; &…
通过java来获取系统以下的信息: 主机名: OS 名称:&…
public void submittingForm() throws Exception { final WebClient webClient = new WebClient(…
System.out.println("java版本号:" + System.getProperty("java.version")); /…
Android手势监听 OnGestureListener (短按,长按,慢滑动,快滑动)
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