I am trying to make an app that shows a toast when the device\'s Bluetooth turned on. I wanna do that even when my app is not running. So I should use a broadcast receiver,
You have to take following permission.
and you have to write this as your intent filter in receiver tag.