Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は、Google TVボックスの電源が入るたびにアプリを自動起動する必要があるプロジェクトに取り組んでいます。また、実行中は、1 日の特定の時間にアプリを再起動する必要があります。
これは可能ですか?
ボックスの起動時に通知される「android.intent.action.BOOT_COMPLETED」インテントの BroadcastReceiver を作成できます。
AlarmManager を使用すると、さまざまな時間間隔に基づいて BroadcastReceivers を呼び出すことができます。