This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using broadcast receivers in my application. I have registered receivers in manifest and activity file. It calls perfectly. Broadcast receiver will be called whenever user clicks power button.
for that I have used
In onreceive of broadcast listener I am starting an activity
Now this activity is called also. But I can not see the view of an activity. Activity runs in background.