Monitoring of Activities visibility

Posted by vochupin on Stack Overflow See other posts from Stack Overflow or by vochupin
Published on 2010-03-09T09:42:09Z Indexed on 2010/03/09 10:51 UTC
Read the original article Hit count: 127

Filed under:

Is it possible to determine the moment of switching of certain Activity from foreground to background and vice versa? This activity should run in the separate process.

I need to write the application that collects some statistics from using of big set of applications (app names read from configuration file). My application works as Service and should remember moments of switching of activities between foreground and background. Set of applications is sufficiently big and most part of these applications will never work on certain phone.

© Stack Overflow or respective owner

Related posts about android