参考地址: 开机启动: http://www.trinea.cn/android/android-boot_completed-not-work/ http://blog.csdn.net/grhunter/article/details/5105784 自动重启: http://room302.cn/2011/12/how-to-restart-android-application-after-it-is-force-closed/