To take a screenshot directly, use the screenshot extension
Taifun
To take a screenshot directly, use the screenshot extension
Taifun
But this extension only gives screenshot of own app.
What he wants is to hide/dismiss notification tray after clicking on Capture button in notification.
What exactly is a semple function option? I never heard of this... please elaborate, what exactly you are looking for. Thank you.
Taifun
Not this
Take a screenshot in YouTube app but the screenshot was of notification center.
Most are screenshots of the Notification Center.
So if you put the code of capture button in a simple function then maybe it will work.
Press Capture in the notification and close your notification center to take a screenshot of your youtube app
This is why the extension offers a delay, so you have time to close the notification before the screenshot is taken
Version 2: delay added to give the user time to close the notification
Taifun
Thanks for your support
Is this extension not supporting Android 13?
I'm not aware of this.
Did you try the example project?
Taifun
I did it it's not working android 12, android 13
Same problem
I now checked the extension... I forgot to publish the SDK33 update... please try the example project downloadable from here and let us know, if it works for you
Taifun
Version 3 is now available to download from the Download section here
Taifun
Thanks so much
Hi sir, there is a problem, in android 11,12,13 device, no file is visible inside data folder, it is hidden there.
That folder is hidden
Use Total Commander
Taifun
Can't I save the screenshot in another folder?
No
Where exactly is rhe problem to copy it from ASD to somewhere else using the file component?
Taifun