Open sheng-di opened 4 years ago
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"? please help me
can you guide me, I don't know Kotlin exactly so I don't know exactly how you get a screenshot object from "it"? please help me
Apologize for the late reply. I post my code here: Screen Paste
I am just an android beginner, and inadvertently found that screenshotResult.observe
method can obtain an screenshot object, which can be cast to ScreenshotBitmap
, and the ScreenshotBitmap
object has the getBitmap
method.
Currently, I want to get the screenshot after clicking a notification. However, it doesn't work. Would you clone and check it for me?Any help will be appreciated. Thanks.
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.
can you guide me, I don't know Kotlin exactly so I don't know exactly how you get a screenshot object from "it"? please help me
Apologize for the late reply. I post my code here: Screen Paste
I am just an android beginner, and inadvertently found that
screenshotResult.observe
method can obtain an screenshot object, which can be cast toScreenshotBitmap
, and theScreenshotBitmap
object has thegetBitmap
method.Currently, I want to get the screenshot after clicking a notification. However, it doesn't work. Would you clone and check it for me?Any help will be appreciated. Thanks.
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! Did I get you correct that the issue is that you don't get broadcast during clicking to notification? But not that screenshotty doesn't make a screenshot?
can you guide me, I don't know Kotlin exactly so I don't know exactly how you get a screenshot object from "it"? please help me
Apologize for the late reply. I post my code here: Screen Paste I am just an android beginner, and inadvertently found that
screenshotResult.observe
method can obtain an screenshot object, which can be cast toScreenshotBitmap
, and theScreenshotBitmap
object has thegetBitmap
method. Currently, I want to get the screenshot after clicking a notification. However, it doesn't work. Would you clone and check it for me?Any help will be appreciated. Thanks. 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! Did I get you correct that the issue is that you don't get broadcast during clicking to notification? But not that screenshotty doesn't make a screenshot?
It seems to be so. If the application runs in background, it fails
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.