上链接:
http://files.cnblogs.com/files/andlp/DaemonProcess.zip
原理:native层fork出子进程,双进程守护
5.0以上 参考marsDaemon