Questions tagged [android-activitymanager]

Using the Activity Manager, the Android System manages a stack of activities which are in different states (starting, running, paused, stopped, destroyed).

Actually the Activity Manager does more than manage activities. It was named that because in the very early implementations of Android all we had were activities (before we had even implemented multiple processes yet), but in the ultimate implementation the activity manager would probably be better called the "application manager" -- it decides when to start processes, and manages all of the top-level components (activities, receivers, services, content providers) running in them.

34 questions
0
votes
1 answer

How to detect app is minimized from pressing home key ?

By using onPause(), I can check if an activity is going to background or not. My problem is this onPause() is call each time even if I am going to another activity from this activity. So my main problem is ,if I am minimizing the app by pressing…
0
votes
1 answer

Where can i read this log that ActivityManager: Killing 2225:com.android.email/u0a39 (adj 900): remove task

I'm searching where can I read this log. 03-29 02:47:31.249 774 795 I ActivityManager: Displayed com.android.email/.activity.setup.AccountSetupFinal: +120ms 03-29 02:47:34.014 774 1200 I ActivityManager: START u0 {flg=0x10804000…
0
votes
1 answer

Android: Install another app and detect when it is launched the first time

I have an application that installs other applications, just like Google Play Store. To complete the chain of analytics, I need to be able to detect when the apps installed are launched the first time. Google Play Store definitely has it implemented…
-1
votes
1 answer

Close running applications

I am trying to close particular 3 application if already opened and running in the background apps. I have tried like this protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
GNK
  • 1,036
  • 2
  • 10
  • 29
1 2
3