I want to detect power button click event in application which has service running in background.
However i am able to detect long click of power button in service. now i want to detect that power button click three times in background.
(Using draw over other apps) //that makes logic
I searched it for google that gives no result , is there anyway or logic which we can implement for this?
Thanks