摘要:
1 public class SharePrefersUtils { 2 private static final String name="cogi"; 3 public static boolean getboolean(Context con,String key,boolean defaultValues){ 4 SharedPreferenc... 阅读全文
摘要:
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... 阅读全文
摘要:
右进左出动画: in_from_right out_to_left 左进右出动画: in_from_left out_to_right 跳转主代码: 直接调用类中方法即可 阅读全文
摘要:
代码如下: 阅读全文
摘要:
运用: // 获取数据 String cache = CacheUtils.getcache(murl, mactivity); if (!TextUtils.isEmpty(cache)) {// 如果缓存存在,则直接解析,无需访问网络 ParseNewsdetailData(cache, fal 阅读全文