So I'm writing a news app that has to periodically refresh it's database of articles.
I want to refresh after a certain amount of time has passed. I could check in the onStart of every activity, but then I'd wind up refreshing, and preventing user interaction in the middle of an app "session". If I need to refresh, I'd like to refresh when coming back from the home screen, but I don't want to refresh when coming back from another activity within the same app. Other than some convoluted hacks, I don't know how to make this determination. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

