BasePeriodicService
binder
execTask
定期実行したいタスクの中身(1回分) タスクの実行が完了したら,次回の実行計画を立てること。
isNotificationFlag
makeNextPlan
次回の実行計画を立てる。
onBind
onCreate
onStartCommand
runTask
実行するタスクを記載する
scheduleNextTime
サービスの次回の起動を予約
setNotificationFlag
startResident
常駐を開始
stopResident
サービスの定期実行を解除し,サービスを停止