06 2013 档案

android 数据存储之SDK
只有注册用户登录后才能阅读该文。

posted @ 2013-06-27 20:05 yujian_bcq 阅读(1) 评论(0) 推荐(0)

android 数据存储之SharedPreferences
只有注册用户登录后才能阅读该文。

posted @ 2013-06-27 19:58 yujian_bcq 阅读(1) 评论(0) 推荐(0)

android 之Notification
摘要:http://blog.csdn.net/qinjuning/article/details/6915482 阅读全文

posted @ 2013-06-27 15:55 yujian_bcq 阅读(95) 评论(0) 推荐(0)

java 正则表达式
摘要:Pattern pattern = Pattern.compile("^[A-Za-z]+$");if (pattern.matcher(str).matches()) { //匹配 }else{ //不匹配 }1:汉字表达式 [\u4e00-\u9fa5]2:大小写字母表达式 ^[A-Za-z]+$3:数字表达式 [0-9]4:邮箱 \\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*5:手机号码 ^1\\d{10}$ 阅读全文

posted @ 2013-06-27 15:01 yujian_bcq 阅读(161) 评论(0) 推荐(0)

android 百度地图定位获取经纬度已经拿经纬度得到地址信息
摘要:1:基本数据的初始化/** * 定位 */ private void initLocation() { mLocationClient = new LocationClient(getApplicationContext()); mLocationClient.registerLocationListener(new MyLocationListenner());LocationClientOption option = new LocationClientOption(); option.setOpenGps(true); // 打开gps option.setCoorType(" 阅读全文

posted @ 2013-06-13 15:31 yujian_bcq 阅读(1228) 评论(0) 推荐(0)

android 之onMeasure
摘要:http://www.eoeandroid.com/thread-102385-1-1.html 参考 http://blog.csdn.net/hqdoremi/article/details/9980481 更为详细: onMeasure方法在控件的父元素正要放置它的子控件时调用.它会问一个问题 阅读全文

posted @ 2013-06-04 10:58 yujian_bcq 阅读(407) 评论(0) 推荐(0)

android 之AsyncTask
摘要:三个参数一次代表着doInBackground(Void... params);onProgressUpdate(Integer... values);onPostExecute(String result)函数对应的参数。调用代码:/** 获取LoadTast对象 */LoadTast loadtast = new LoadTast();/** 执行异步task */loadtast.execute();/** 继承自AsyncTast的LoadTast */ public class LoadTast extends AsyncTask<Void, Integer, String&g 阅读全文

posted @ 2013-06-04 10:41 yujian_bcq 阅读(162) 评论(0) 推荐(0)

导航