1. Check out our companion app, Forums for Android! Download from Google Play

A thread that runs all the time in the App.

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

  1. Valten1992

    Valten1992 Active Member
    Thread Starter
    36

    Feb 8, 2012
    43
    3
    36
    Student
    Ireland
    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?
     

    Advertisement

Share This Page

Loading...