your filename looks fine now
what about providing a screenshot of your relevant blocks?
you now have to look into the ASD of the companion app
Taifun
your filename looks fine now
what about providing a screenshot of your relevant blocks?
you now have to look into the ASD of the companion app
Taifun
So these blocks are used to pick an image (these blocks work fine now thanks to bodymindpower )
This is what happen when the image is picked :
And these blocks are used to display a resized version of the image in the Vertical arrangement1 :
But the Vertical Arrangement Image return nothing :
any example for the ResultUri you are getting?
is the image editor able to work with result uris?
did you find the file in the ASD meanwhile?
some things to try:
what happens, if you try to display the picked image in the vertical arrangement without scaling it?
are you able to display an image in the vertical arrangement without picking it a) from the assets or b) from shared storage ?
Taifun
So when I do this :
As you can see in the screenshot below, it returns the image I have chosen so this part works.
(btw you can see that the image is not well framed so I’m cropping it with the image editor component)
When I use this file name it works fine so yes the image editor is able to work with result uris
No but I didn’t look for it (I don’t need to see it actually I just need to delete it after)
You found out, that the vertical arrangement can display result uris… but you still do not know
A result uri is not a filename. .
What about displaying the result uri in a label so we can see how it looks like? You might have to convert it into a filename so the image editor is able to convert it…
You have a strange way of debugging… to check if the file is there and what size it has might help to find the issue…
Taifun
Yes the image editor works fine with result uri because as i’ve told you
This is the result of these blocks :
So, the problem is not on result uri but on the image editor that can’t save the image. Because when I try to edit an image from the assets :
It returns this :
When I use these blocks :
And this :
When I use these blocks :
So the problem is on the file name
Try a full path to store the fike in ASD
See also
Taifun
I’m sorry but I don’t get it I’ve tried many different ways but I think that the Image_Editor can’t save an image in a specific directory because I’ve tried to save the edited image in a directory that was already created and it did not work.
unfortunately you forgot to provide a screenshot of these blocks, so we do not know, if there is an error in your blocks…
the link in my last answer shows how to store the image in another directory… however nowadays you should not use random directories anymore, use shared storage or ASD…
see again Some basics on Android storage system
Taifun