06 2016 档案

摘要:/** * 打开一个app * * @param packageName * @param data * @return */ public static boolean lanuchApp(Context context,String packageName, Bundle data) { try { Intent resolveIntent = co... 阅读全文
posted @ 2016-06-19 18:25 wikiki 阅读(250) 评论(0) 推荐(0)
摘要:/** * 隐藏软键盘 * * @param context * @param editText */ public static void hideSoftKeyBroad(Context context, View view) { InputMethodManager mgr = (InputMethodManager) context.getSystemS... 阅读全文
posted @ 2016-06-19 18:13 wikiki 阅读(296) 评论(0) 推荐(0)
摘要:System.currentTimeMillis() new Date().getTime() 阅读全文
posted @ 2016-06-13 17:51 wikiki 阅读(110) 评论(0) 推荐(0)
摘要:/** * 把文本里面结尾的切割掉 * @param text * @return */ public static String cutOutPrefixImg(String text){ String regex = "]*>"; return text.replaceAll(regex, ""); } 阅读全文
posted @ 2016-06-05 10:50 wikiki 阅读(151) 评论(0) 推荐(0)
摘要:/** * 计算关键字在文本中出现的次数 * @param text * @param key * @return */ public static int count(String text, String key) { int count = 0, start = 0; while ((start = text.indexOf(key, start)) >... 阅读全文
posted @ 2016-06-05 10:42 wikiki 阅读(359) 评论(0) 推荐(0)
摘要:开发者应用认领说明 Flyme应用中心应用认领,采用Android的apk安装包签名机制来完成。如果你不清楚签名是什么,请联系开发人员协助您。 在Android平台发布应用程序之前,必须经过一个签名流程。现在您的密钥就是您的身份证明,您所要做的就是使用您的密钥,将我们提供给您的一款未经过签名的apk 阅读全文
posted @ 2016-06-01 13:54 wikiki 阅读(1167) 评论(0) 推荐(0)