Is it possible to understand programmatically if the user is on the launcher (he’s not using other apps or has not other activities opened)?
Is it possible to understand programmatically if the user is on the launcher (he’s
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
it possible.
you can use the solution this links offers:
Determining the current foreground application from a background task or service
if the fourground application equels the launcher – then you know it’s the launcher that fourground