- 博客(4)
- 收藏
- 关注
原创 百度地图定位的功能使用管理类
/** * 功能:提供定位服务 * * @author lvyerose * 使用方法: * BaiduLocationManager.init(getApplicationContext()); * BaiduLocationManager manager = BaiduLocationManager.getInstance(); * //回调
2015-08-24 20:47:41 378
原创 轻量级文件存储SharedPreferences使用管理类
/** * 轻量级文件存储 * @author 张鹏飞 * */ public class PreferenceUtil { /** 名称:首选项名称 */ public static final String NAME_PREFERENCE = "labrary_preference"; private SharedPreferences mSharedP
2015-08-24 20:33:11 260
原创 md5加密和sha1加密
md5加密 public static String toMD5(String s) { if (s != null) { try { byte[] bs = s.getBytes("UTF-8"); return encrypt(bs); } ca
2015-08-24 20:25:13 303
原创 使用Gson解析管理类
public class ParseManger { private Gson gson = new Gson();//使用该解析方法要导入Gson jar包 private static ParseManger parse = new ParseManger(); private ParseManger() { }// 设置为单列模式 public stat
2015-08-24 20:04:19 180
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人