I'd like to keep alive a service in background of mobile phone that listen for request to send SMS. The problem is that the mobile goes after some time in stand by and don't recive the request to send SMS. Maybe is it better to use a PartialLock intsead of a keepalive?
if the mobile goes to standby the service should still work only if you kill the app or android does then the service will be killed to.
but you can use a sticky service to keep it alive or use "Service.StartForeground"