Top "Activity-manager" questions

manages all of the top-level components (activities, receivers, services, content providers) running in them.

How to use UsageStatsManager?

Background Google has deprecated the function "getRecentTasks" of "ActivityManager" class. Now all it does is to get the list of …

android usage-statistics activity-manager android-recents usagestatsmanager
ActivityManager.getRunningTasks is deprecated android

I am working on push notification in android where i am using a below method to show notification, but the …

android push-notification deprecated activity-manager
Cannot get foreground activity name in Android Lollipop 5.0 only

I use the following code to get the activity name of the foreground app in the variable foregroundTaskPackageName. It works …

android android-5.0-lollipop activity-manager
List of all of the activities in our application that are running on the device

How to get the list of all activities in our application that are running on the device. For example: pdf …

android activity-manager
Android ActivityManager killBackgroundProcess not working

I am using eclipse. I am trying to kill a process in my application. However, in eclipse it does not …

android android-activity process activity-manager
Go back to specific activity from stack

I'm trying to do something like file manager. And in action bar I wanna to do folder navigation like in "…

android android-activity activity-manager
Android: How to determine if IntentService is running?

I have an activity for upload from which I am calling Intent service. In there I am handling the API …

android android-intent service android-intentservice activity-manager
android GET_TASKS Permission Deprecated

I've used GET_TASKS permission in my app in order to get previous intent. private Intent getPreviousIntent(Intent newIntent) { final …

android android-intent task activity-manager
Android M: How can I get the current foreground activity package name(from a service)

It is easy to get a list of running tasks from the ActivityManager service on Android L, and the current …

android activity-manager
How to get all the tasks that are running currently

I want to get all the tasks that are running in android.I found getRunningTasks in ActivityManager but from android-5.0 …

android activity-manager