As of Lollipop there is no way to do that. On Wed, Jul 8, 2015, 8:50 AM Seshu <s.seshu...@gmail.com> wrote:
> Hi All, > How can we retrieve the list of background runnings apps list in > android. currently i am using > public List<ActivityManager.RunningTaskInfo> getRunningTasks (int maxNum). > But this method is deprecated in API level 21 i.e., from Lollipop onwards. > is there any alternative method to get the running apps list. please try to > help me guys > > Thanks > S.Seshu. > > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.