Hi, Is there a way to find current activity(activity which is on focus to the user) ? One way is: public List <http://developer.android.com/reference/java/util/List.html>< ActivityManager.RunningTaskInfo<http://developer.android.com/reference/android/app/ActivityManager.RunningTaskInfo.html>> getRunningTasks (int maxNum) but the Android documentation says not to use this in core logic.
Is there any other way where I can use 'finding out current activity' in core logic ? thanks. On Wednesday, January 16, 2008 4:30:30 PM UTC+9, hackbod wrote: > > It doesn't right now. I'll add it to our list, but it is probably a > low enough priority that I wouldn't expect it for 1.0. > > On Jan 15, 6:29 pm, XC <xiaoc...@gmail.com> wrote: > > Thanks. I believe ActivityMonitor can work well. > > Is there anybody know if Android supports the mechanism like > > WindowManager or ViewManager, which can get a list of view or window, > > and which view or window has user focus. > > > > XC -- 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