摘要:
1 public class SharePrefersUtils { 2 private static final String name="cogi"; 3 public static boolean getboolean(Context con,String key,boolean defaultValues){ 4 SharedPreferenc...
阅读全文
posted @ 2016-06-14 19:59
oooo呼呼
阅读(244)
推荐(0)
编辑
摘要:
2 3 import java.security.MessageDigest; 4 5 public class MD5Encoder { 6 7 public static String encode(String string) throws Exception { 8 byte[] hash = MessageDigest.getInst...
阅读全文
posted @ 2016-06-14 19:56
oooo呼呼
阅读(475)
推荐(0)
编辑
摘要:
右进左出动画: in_from_right out_to_left 左进右出动画: in_from_left out_to_right 跳转主代码: 直接调用类中方法即可
阅读全文
posted @ 2016-06-14 19:47
oooo呼呼
阅读(1434)
推荐(0)
编辑
posted @ 2016-06-14 19:38
oooo呼呼
阅读(275)
推荐(0)
编辑
摘要:
运用: // 获取数据 String cache = CacheUtils.getcache(murl, mactivity); if (!TextUtils.isEmpty(cache)) {// 如果缓存存在,则直接解析,无需访问网络 ParseNewsdetailData(cache, fal
阅读全文
posted @ 2016-06-14 19:36
oooo呼呼
阅读(246)
推荐(0)
编辑