摘要: public class DrawableUtils { private DrawableUtils() { /* cannot be instantiated */ throw new UnsupportedOperationException("cannot be instantiated"); 阅读全文
posted @ 2019-08-09 19:25 李艳艳665 阅读(218) 评论(0) 推荐(0) 编辑
摘要: public class NtpTimeUtils { // NTP服务器地址,同步获取网络时间(网络获取的时间已处理夏令时) private static String[] ntpServerHost = new String[]{ "cn.pool.ntp.org", "ntp1.aliyun. 阅读全文
posted @ 2019-08-09 19:25 李艳艳665 阅读(234) 评论(0) 推荐(0) 编辑
摘要: ublic class JSONUtils { public static String getString(JSONObject response, String key) { String value = response.optString(key, ""); return value.equ 阅读全文
posted @ 2019-08-09 19:25 李艳艳665 阅读(197) 评论(0) 推荐(0) 编辑
摘要: /** * 获得屏幕相关的辅助类 */public class ScreenUtils { private ScreenUtils() { throw new UnsupportedOperationException("cannot be instantiated"); } public stat 阅读全文
posted @ 2019-08-09 19:24 李艳艳665 阅读(401) 评论(0) 推荐(0) 编辑
摘要: /** * 软键盘相关辅助类 */public class KeyBoardUtils { private KeyBoardUtils() { throw new UnsupportedOperationException("cannot be instantiated"); } /** * 隐藏输 阅读全文
posted @ 2019-08-09 19:24 李艳艳665 阅读(253) 评论(0) 推荐(0) 编辑
摘要: public class SDCardUtils { private static final String EXTERNAL_STORAGE_PERMISSION = "android.permission.WRITE_EXTERNAL_STORAGE"; private SDCardUtils( 阅读全文
posted @ 2019-08-09 19:24 李艳艳665 阅读(140) 评论(0) 推荐(0) 编辑