0

I have read other posts that suggest that I use a service but I am not sure that it will do what I need it to. I am trying to create an alarm app but once the user presses the home button, the alarm will never go off. Is there a way to keep my app running when the home button is pressed?

tylerik
  • 97
  • 2
  • 10

1 Answers1

2

You should implement Service running in background (read this manual) or use an AlarmManager as suggested by Greg (that is better solution)

egoldx
  • 1,490
  • 1
  • 9
  • 14