Broadcast receiver, check a checkbox preference state on bootup then send a notification

后端 未结 2 981
心在旅途
心在旅途 2021-01-27 08:06

My problem is that when I try to read a checkbox preference state from a different activity on bootup then send a status bar notification. Then when the device boots the I get a

2条回答
  •  悲哀的现实
    2021-01-27 08:26

    Have you added the following to your AndroidManifest.xml along with registering the BroadcastReceiver??

提交回复
热议问题