-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get screenshot in background activity #9
Comments
How can I use MediaProjection explicitly? |
can you guide me, I don't know Kotlin exactly so I don't know exactly how you get a screenshot object from "it"? |
Apologize for the late reply. I am just an android beginner, and inadvertently found that Currently, I want to get the screenshot after clicking a notification. However, it doesn't work. It's an interesting application which can float texts or pictures on the screen. �I wanted to increase the productivity of my phone, but I didn't find a similar application, so I studied Android and made a simple version. Hope you can answer my confusion. |
Hi! |
It seems to be so. |
Is this supported now? |
If the activity is in foreground, it performs well. However, when broadcasting the activity, and put this code in receiver's callback, I cannot get the screenshot.
The text was updated successfully, but these errors were encountered: