Johan Pelgrim wrote:Hi Balaji,
There is a topActivity field defined on the RunningTaskInfo class. You can get a list of running tasks via the getRunningTasks(int) method in the ActivityManager. Traverse through that list to find the currently active task by checking the topActivity field.
Thanks a lot Johan...
Can i hide the middle activity view while switching from foreground activity view to third activity view because i m using intents?
Due to use of intents for switching activities i get flashing of middle activity's view which i don't want.