Problem with the extension to record the screen

here is my .aia file
RegistratoreSchermo.aia (30.7 KB)
cheers from Italy

Your problems seems to be here:

I disabled it and it works! It only saves the last capture, as in my demo.

did you remove that block?

I disabled it, but removing works as well.

Maybe that block shouldn't be at initialize. I'll try it later but my guess would be to put it after the video is recorded.

I'll post here when I get to save more than one file.

Yes, it should be set before initialize.

Hi Vknow360
. I used your extension in my software but don't work in Android10. Same in Kodular and in AppInventor. Make app crash.
Is it possible make somethingh for.... ?

Thank's.

Hi @Angelo_Angius
Can you post the logs here?

I'm sorry but I'm not able to do that now. The tablet I tested, a small Lenovo, does not have the enable debugger access option and I have never used logcat. I think you could ask to do a test to https://community.appinventor.mit.edu/u/Anke or the people in the comunityand to have the log. I'm sorry for this.
if I can do something else, ask ...
Angelo.

Hello Angelo:

By default, no device has debugger/developer mode enabled because the majority of people are not writing Apps for their device! There is a simple step-by-step process which is very similar across all devices and especially so for devices from the same manufacturer.
https://www.professorcad.co.uk/smartphonescreensizes#SetDebugMode

ok, now check.
I have a Mac. instruction for LogCat are the same?

Are you testing in emulator?
If so then which software.

Also, you can get logs easily if os is based on/uses java.
Process will be same as of Linux.

Output di Terminale salvato.pdf (657.8 KB)

This is what I have

Output di Terminale salvato2.txt (1.2 MB)

First time I used LogCat . This is better

The issue is here:

Caused by: java.lang.SecurityException: Media projections require a foreground service of type ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION

I'll fix it soon.