package Ġcom . github . ro oney and shadow s . light bul b . application . activity . re ceiv ers Ċ Ċ import Ġandroid . content . Broadcast Receiver Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . Intent Ċ import Ġcom . github . ro oney and shadow s . light bul b . application . activity . re ceiv ers . Boot Broadcast Receiver Ċ Ċ /* Ċ add Ġin Ġmanifest Ċ < receiver ĊĠĠĠ Ġandroid : name =". activity . re ceiv ers . Boot Broadcast Receiver " ĊĠĠĠ Ġandroid : exported =" true "> ĊĠĠĠ Ġ< intent - filter > ĊĠĠĠĠĠĠĠ Ġ< action Ġandroid : name =" android . intent . action . BOOT _ COMPLETED " Ġ/> ĊĠĠĠ Ġ</ intent - filter > Ċ </ receiver > Ċ Ġ*/ Ċ class ĠBoot Broadcast Receiver Ġ: ĠBroadcast Receiver () Ġ{ ĊĠĠĠ Ġprivate Ġval ĠACTION Ġ= Ġ" android . intent . action . BOOT _ COMPLETED " ĊĠĠĠ Ġoverride Ġfun Ġon Receive ( context : ĠContext , Ġintent : ĠIntent ) Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( intent . action Ġ== ĠACTION ) Ġ{ ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }