Hello.
I added a screenshot button in my app and I found out screenshot image is saved in inner memory folder not in specific folder. It’s too hard to find.
How to make my own app folder for screenshot saving and make screenshot image name with my app name + add number? (myscreen1.png, myscreen2.png…)
Prefix the filename with / (i.e. relative path) to look for the file on the SD card.
For instance /myFile.txt will look for the file /mnt/sdcard/myFile.txt.
To read assets packaged with an application (also works for the Companion)
start the filename with // (two slashes).
There is a var counter which increases by 1 as you take screenshots. Files are saved with postfix 1, 2, 3…
Next time you start your app, numbering will be repeated 1,2,3…
If you want to avoid this, on exiting save counter to a db. Read it OnScreen.Initialize.