One can override the different OnX() methods and update state (foreground, paused, stopped, destroyed) but just wondered what the member variable in Activity is that stores it - we are after all, extending from it - so we could directly access it unless it is private. background: wanted a service to know whether its UI Activity is active or not. Yes, I can update the state but so much simpler if there were a getState().
Anil -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en