For testing purposes i have made a service that beeps every 1 minute. (No client-server interface yet). It beeps okay when the screen in on, but when it goes to sleep the beepin
You have to use the AlarmManager, there are plenty of posts here on stackoverflow.