2013年6月27日

判断是否有响应Intent的app

摘要: /** * 获取能启动intent的app信息 * * @param context * @param intent * @return */ public static List getAppsForIntent(Context context, Intent inten... 阅读全文

posted @ 2013-06-27 18:27 bwlcool 阅读(136) 评论(0) 推荐(0) 编辑

android显示和隐藏键盘

摘要: public class KeyboardUtil { public static void hideSoftInput(Activity acitivity) { InputMethodManager imm = (InputMethodManager) acitivity .ge... 阅读全文

posted @ 2013-06-27 18:20 bwlcool 阅读(141) 评论(0) 推荐(0) 编辑

正则表达式判断身份证和提取生日

摘要: public class IDCardUtil { public static boolean isValidIdCard(String idCard) { if (idCard == null) { return false; } Pattern p = Pattern.comp... 阅读全文

posted @ 2013-06-27 18:17 bwlcool 阅读(3465) 评论(0) 推荐(0) 编辑

JNI Local Reference Changes in ICS

摘要: http://android-developers.blogspot.com/2011/11/jni-local-reference-changes-in-ics.html这个网址fanqiang才能访问。下面是复制的内容 JNI Local Reference Changes in ICS... 阅读全文

posted @ 2013-06-27 17:34 bwlcool 阅读(167) 评论(0) 推荐(0) 编辑

导航