私は Alarm Manager の使用を検討しており、開発者向けドキュメントでこれを読んでいますが、これはよくわかりません。
"If your alarm receiver called Context.startService(),
it is possible that the phone will sleep before the
requested service is launched. To prevent this, your
BroadcastReceiver and Service will need to implement a
separate wake lock policy to ensure that the phone
continues running until the service becomes available."
サービスが開始される前に電話がスリープ状態になる可能性がある状況を具体的に尋ねています(これは私が理解できない部分であるため)。電話がステートメントを実行できる速度に依存していますか? すなわち。別のスレッドを開く startService() を呼び出すため、元のスレッドはサービスが利用可能になる前に作業を完了することができますか?
ありがとう