I have the problem, that if I produce a screenshot with the taifunScreenshot extension and copy the image to DCIM/Camera, I can not see it in the Galery-App. Whnen I restart the phon, it‘ s there.
It must be a cache problem.
Can someone tell me, how to force Android from ai2 to rebuild the cache?
Thank you very much.
Initialize filename as a blank string, then set its value to the filename inside the AfterScreenshot event.
Or, use a local variable inside the AfterScreenshot event.
Thank you very much, to all rhe nice and friendly guys here.
I hope, I do not hurt your nerves too much.
I want to describe again:
The filename is absolutely OK. The Screenshot is taken perfectly and is stored in the right folder. I can see it there (DCIM/Camera). But I CAN NOT SEE IT IN THE GALLERY.
After booting my Device, I can see it there.
Maybe GalleryRefresh doesn‘t work, or I use it the wrong way.
A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .