i am developing a alarm application using BroadcastReceiver. Here i need to check whether the alarm is on or off from the database. So i need to check the status of
There is no real problem accessing the DB from the BroadcashReceiver.
You will need the context, which you have as part of the BroadcastReceiver onReceive method signature and that's it.
If you're facing a specific problem, please tell us what it is