1、质量压缩方法 通过compress的方法只是减小了文件的大小,但是并不能保证减低bitmap文件解码后在内存的占用量。 private Bitmap com…
import java.io.File; import java.io.FileOutputStream; import android.os.Bundle; import and…
import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import java.io.I…
import java.util.HashMap; import java.util.LinkedList; /* * 基于Java LinkedList,实现Android大数据…
一个方法,在APP需要的时候调用该方法即可: public void createShortcutIconInHomeScreen() { Intent addIntent = n…
// 保持Android设备屏幕灯长亮 public static void setScreenBright(Activity activity, boolean keepScre…
一个通用且常用的Java正则匹配工具,用以检查邮箱名、电话号码、用户密码、邮政编码等合法性。 import java.util.regex.Matcher; import java…
import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calen…
public void toggleFullscreen(boolean fullScreen) { //fullScreen为true时全屏,否则相反 WindowManager…
android开发中实现整个屏幕截图,首先通过activity对象的getwindow()方法获得整个屏幕的window对象,再通过整个屏幕的window对象的getDecorVi…
public class PageUtil { /** * 获取分页代码 * * @param targetUrl * 目标地址 * @param totalNum * 总记录数 …
工具类:校验某个服务是否还活着 import java.util.List; import android.app.ActivityManager; import android.…
Android客户端采用Http 协议Post方式请求与服务端进行数据交互
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