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 the alarm when the broadcast event came. I have to put the database access code in BroadcastReceiver
class onReceive()
method. Here suggest me if there is any way to access the data from the BroadcastReceiver
thanks in advance