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.