2011年12月1日
摘要: /** * 判断服务是否正在运行 * * @param context * @param className 判断的服务名字:包名+类名 * @return true在运行 false 不在运行 */ public static boolean isServiceRunning(Context context, String className) { boolean isRunning = false; ActivityManager activityManager = (Activit... 阅读全文
posted @ 2011-12-01 17:22 Ruthless 阅读(1219) 评论(0) 推荐(1) 编辑