• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps A thread that runs all the time in the App.

Valten1992

Newbie
I'm asking this question because I can't seem to get a straight answer wherever I look and doing this takes a lot of time as I would have to re-write a lot of code to just test it.

My app has many different activity classes and the average user would go back and forth through them awfully quickly. What I want to do is start a thread on the starting activity that will constantly check the values of certain java objects, whose values would be updated in the other activities.

What I want to know is if a thread I start on one activity would still be running through and checking these values even I move to another activity?
 
Back
Top Bottom