ScreenshotUtils Aia File

I made simple screenshot aia file.

Please check it, why is error and why it is not working?

Screenshot.aia (2.2 KB)

By reviewing your aia file, I found the error and solved it.
To solve, Follow these steps :

  1. set this in your screen initialization.

  2. Replace your path along with the file name.

it will only work when file name changed otherwise it will overlap the previous screenshot.
you can use your logic to regenerate file name every time a user takes screenshot.


Still not worikng.

Pwrmission denied error.


Sir you need Read External Storage Permession
Do that and it will work filne

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.