library/src/main/java/com/coolerfall/daemon/Daemon.java
public static void run(final Context context, final Class<?> daemonServiceClazz,
	                       final int interval) {
		new Thread(new Runnable() {
			@Override
			public void run() {
				Command.install(context, BIN_DIR_NAME, DAEMON_BIN_NAME);
				start(context, daemonServiceClazz, interval);
			}
		}).start();
	}
public static void run(final Context context, final Class<?> daemonServiceClazz,
	                       final int interval) {
		new Thread(new Runnable() {
			@Override
			public void run() {
				Command.install(context, BIN_DIR_NAME, DAEMON_BIN_NAME);
				start(context, daemonServiceClazz, interval);
			}
		}).start();
	}
Run daemon process.

@param context            context
@param daemonServiceClazz the name of daemon service class
@param interval           the interval to check