"canvas save as" doesn't save

Hi,
for some time “canvas save as” is perfect on the AI companion but when I create the APK the file or the folder is not saved.
I’ve tried with:
-evaluate but ignore result > call save canvas as > picture.jpg
-call tinyDB storeValue call > call save canvas as > picture.jpg
-set global variable > call save canvas as > picture.jpg

Nothing, with AI Companion is perfect but APK nothing.
Can you help me
I have a huawei P smart 2019 and a Samsung galaxy A51

Try requesting a write permission for the sdcard

android.permission.WRITE_EXTERNAL_STORAGE

The request block is in the Screen palette. Do this on Screen1. Initialise

1 Like

sorry I have not understood, I have try to write
android.permission.WRITE_EXTERNAL_STORAGE
in the action of an activitystarter and then in screen1.initialize I’ve called ActivityStarter.StartActivity but nothing.

I’ve also wrote android.permission.WRITE_EXTERNAL_STORAGE
in the block Screen1.permissionDenied but nothing.

Which is the right way?

Thamks a lot.

1 Like

ok! thank you!

1 Like