判断某个Service是否还活着
public static boolean isServiceRunning(Context context,String serviceName){ //校验服务是否还活着 ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);