Create Images of Components and Screens | [FREE] Extension ComponentToImage

it will happen because the download link is from appybuilder and it is not working for

as the link is not working i will ask #moderators can i upload the extension here as download is not working

Yes that is ok this time.

1 Like

ok here - com.jerin.s2b.aix (7.8 KB)
here now everyone can download from here

1 Like

I changed first post, now the extension can be found there also.

1 Like

great @Peter

the download link in the Thunkable community is working fine

Taifun

2 Likes

Using this extenstion the images are ok on phoneā€¦ but cant be found on the USB connected windows pc.
what could be the problem ?

Good work ā€¦ really nice extention an useful. Thanks

2 Likes

Hi, I have an app which was working perfectly before the new Fenix update. My app uses the ā€œComponentToImageā€ extension and save pictures in the phone, but now is not working.

I found this answers in forums:

My question is: what I should do now to be able to save pictures in Android 11 with Kodular? Is there some block or setting I should modify?

I need my app to be available to all Android versions, not only old ones.

1 Like

which error message do you get?

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select ā€œDownload Blocks as Imageā€. You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun

Hi, thanks for your response. The thing is that I donĀ“t get any error. The images simply are not being saved. I just get a response from the extension developer and him solved the issue aparently and now itĀ“s working. But Android 11 have a new privacy thing that donĀ“t let you see the content in Android ā€œDataā€ folder.

Are you sure? Or are you only not able to find them on your device?

you always can store something in ASDā€¦
without providing a screenshot of your relevant blocks we only can guess what you are doingā€¦

Taifun

Picture is being saved fine in the app directory now (thanks to the extension developer who modified the extension to make it work), but canĀ“t make it appear in the samsung gallery.

Android 11 hide the ā€œDataā€ folder, so I think thatĀ“s the problem, the app canĀ“t access this path to make Refresh Gallery works.

If I modify the APK and change android:compileSdkVersion=ā€œ30ā€ from 30 to 29 , it works fine and the pictures appear in gallery. But I canĀ“t do this every time I compile a new apk from kodular, must be another solution I think

Google Play requires target sdk 30, so this is not a solution

To have your images appear in the gallery, you have to store them in shared storage like /Pictures or /DCIM

Taifun

New version update

  • Create image of scroll arrangement
  • create images of screen
    And more ā€¦

šŸ“¦ 4.79 KB

Permissions :

WRITE_EXTERNAL_STORAGE

Rebuilt with Rush-cli by Shreyas

šŸ‘‡šŸ½ Read more and Download Extension

Thank You
Jerin Jacob

9 Likes

itā€™s not working for me. Is there any mistake

What android version are you using? If < 10 you need the write permission and the image will be saved in the root of phone if you just use the name of the file, in your case img1.png. If => 10 then you donā€™t need that and the image will be saved in the ASD.

i use android 10 and I want to save image in gallery

Then you should after generating the image in the ASD copy it to the gallery. You could use the taifun file extension for that.