>>141
一定間隔で確実にサービスが起動するようにAlarmManager使ってます。
渡すPendingIntentはPendingIntent.getServiceで作ってます。
ActivityからのstartServiceだとメモリ不足とかで簡単に殺されちゃうと思って。。