1. Download our Official Android App: Forums for Android!

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

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

  1. Valten1992

    Valten1992 Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    43
    Joined:
    Feb 8, 2012

    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...