On Mon, Oct 25, 2010 at 3:31 PM, Suneel Dasari <[email protected]> wrote: > Hi, I am working on a project which uses application start up time for > refreshing the cache. > > if (cached_time_stamp < app_start_up_time) then > use the network to get the data other wise use the data > from the cache. > > But not sure how exactly we can handle this situation if the > application is paused. Handling it in onPause or onResume methods. > > Any pointers would be of great help. > > Thanks in advance, > Suneel
In short rename app_start_up_time to app_resume_time, if you see, what I mean. Daniel -- 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

