0

i want to check if my application "ABC" is currently running in my phone memory or not

any one guide me how to achieve this?

any help would be appreciated.

1 Answer 1

1

With you phone connected to your computer,
you can open "adb shell" in the adb tools.
Then you will enter the linux shell of the phone.
Inside, you can type "top" to check the processes.

Jeanno

Sign up to request clarification or add additional context in comments.

3 Comments

actually in a background service i want to check my application is running or not?
I don't quite get you. Do you mean your application is a background service? No matter what your application is, it is quite hard to tell whether it's running or not. But if you insist to check it this way, you may use the notification. developer.android.com/guide/appendix/faq/…
no my dear you still did not get i have created a background service inside my application if we start another application after running our application it is minimized right? i want check if my application is running in minimized mode in memory and such a functionality i want to achieve in a background service.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.