1. Are you ready for the Galaxy S20? Here is everything we know so far!

A thread that runs all the time in the App.

Discussion in 'Android Development' started by Valten1992, Aug 23, 2012.

  1. Valten1992

    Valten1992 Newbie
    Thread Starter

    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?
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...

Share This Page

Loading...