I am using SHUTDOWN intent filter to detect when phone is getting shutdown and registered a receiver with SHUTDOWN intent filter in manifest file.
In onReceive method I am starting a http call on different thread , but http call is not happening because by some way it is not getting internet or WIFI and GPRS engine is getting switched off during shutdown,
Is there any way to do HTTP call successfully during phone shutdown?
I was thinking to hold shutdown for few seconds once Http call is successful then shutdown the phone , is it possible to do that ?