Taifunzip Directoryname doesnt exist

Hello,

I've built an app that lets you make folders and take pictures to save in these folders.
That part works but I'd like to Zip the folder to be send via Email.

This is where I've hit a problem with Taifunzip.
image
Thats the app's mainfolder and a created / project folder.

I use that Directory plus the /Storage/emulated/0/ as a directoryname for Taifunzip.
image
But when I do this it tells me the directory does not exist.

I added a test button to show me what the directoryname is
image
And that shows me: /sotrage/emulated/0/Mainfolder/Projectnaam

On the phone this is where they endup:


any help would be greatly appreciated

try a relative path, which is /Mainfolder/Projectnaam

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Show all (relevant) blocks ...

See also here:

Thank you for youre response,

I've tryed using the relative path to no succes.
What other blocks could be relevant?
and the link you've put talks about unzipping a file to the assets folder.

where as I want to Zip a folder from within an app made folder I might get this wrong but those are 2 different directory's?

These are the steps.
One button has these commands under it
image
This creates the folder and sets that as the directory text

image
This tells the canvas to save int he directory folder with a name based on mmdd+puntnummer and as a .jpg

The above mentioned works.
So I can end up with a folder with a few pictures in it and that is the folder I would like to make a .zip file out of by pressing another button.
image

I dont konw what other blocks are relevant.

Create a (small as possible) test aia and post it.

See also here:

Good tip to try it smale scale first.


Above the green line works below does not.
Here is the .aia

Testzip2.aia (209.0 KB)

On Android ≥ 10:

1 Like

Testzip3.aia (214.3 KB)

1 Like

Thank you for youre help.
Its working again.
last time I did this must have been in an olderversion of android.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.