BroadcastReceiver's Behaviour For ACTION_SHUTDOWN
I have BroadcastReceiver which listens for ACTION_SHUTDOWN and some other actions. My problem is, when I shutdown my android device(2.3.6) BroadcastReceiver is catching ACTION_SH
Solution 1:
you can add a flag to avoid this. once you received this intent, set the flag.
if(flag)
{
do sth.
flag =0 ;
}
else
{
ignore.
}
Post a Comment for "BroadcastReceiver's Behaviour For ACTION_SHUTDOWN"