young61 Member Licensed User Longtime User Feb 11, 2014 #1 I need to be able to keep a program running after I hit the home button. Right now I have a timer running and I thought it would keep running as long as I didn't actually close/stop the program. If I hit the home button the program obviously remains in memory but the timer pauses until I open the program again. I know there is a simple solution, but I don't understand it just yet. Your help will be appreciated.
I need to be able to keep a program running after I hit the home button. Right now I have a timer running and I thought it would keep running as long as I didn't actually close/stop the program. If I hit the home button the program obviously remains in memory but the timer pauses until I open the program again. I know there is a simple solution, but I don't understand it just yet. Your help will be appreciated.
NJDude Expert Licensed User Longtime User Feb 11, 2014 #2 Search the forums and the documentation regarding SERVICES. Upvote 0
stevel05 Expert Licensed User Longtime User Feb 11, 2014 #3 Have a look at services here http://www.b4x.com/android/forum/threads/service-modules.7542/ and maybe stick service if you need it. http://www.b4x.com/android/forum/th...-service-long-running-background-tasks.27065/ Upvote 0
Have a look at services here http://www.b4x.com/android/forum/threads/service-modules.7542/ and maybe stick service if you need it. http://www.b4x.com/android/forum/th...-service-long-running-background-tasks.27065/