I am trying to build an application that can detect if the Messaging application is currently running so I can foreground one of my activity to prompt the user for a password.
What I have done:
1)Created a service that starts running after startup.
Now, what is confusing me:
1)Is the messaging application a process, a thread, a task, or something else?
2)What is its package name that i should write to check if running?