[FREE] Take screenshot of components, arrangement and screen | Extension ComponentToImage

Yes,

I'm using Qutil class to getExternalStorage ,
Since I'm having confusions with ASD.

I really like this extension. Used it several times. For instance here.

1 Like

Glad to hear that Peter :relaxed:

I was unable to post extensions in AppInventor community.
It says, need approval from moderator. :frowning_face:

However this one is live now.

Thank You

1 Like

Wow, very good extension :+1::+1:

That is why all extensions have to go through this proces

1 Like

It's a very good extension Jerin. Would be great if it could save to the shared directory /pictures in Android 10+

See Anke's guide:

1 Like

I found this extension, but I do not want to save it in the device , I want to set it in an image component .picture inside the app .

With that extension you will have to save it as a file first, before you can display it in an image component. You could store these files in a specific directory, then delete them as and when they are no longer required, or if just the one file, keep overwriting it using the same file name.

Nothing saved !!

Nothing saved or you did not find the file, because it is stored in ASD?

Also which Android version are you using for your tests? Btw. to store something in ASD, no permission is required...

Which filepath do you get in the Created event?

Taifun

Android 13

I didnt find it in the phone gallary

you can only find those images in the gallery, which are accessible
images in the ASD are not accessible by other apps and the ComponentToImage extension stores the image in the ASD

also if you store a new image in shared storage it will not automatically appear in the gallery... you first have to refresh the gallery... the tools extension offers a GalleryRefresh method for this...

btw. you forgot to answer the question

Taifun

1 Like

Nothing

If you wang to see the image in the gallery, you have to first cooy or move it to shared storage

Taifun

1 Like

:+1: :+1: :+1: :+1: The task is now completed successfully

1 Like

Well done
Congratulations

Taifun

2 Likes

Hello, this extension can only save one picture, what's going on?


That is correct. It saves an image of the component you specify.

Thank you for your reply. Is there any way to continuously generate and save pictures?