Comment effacer des images (How do you delete images?)

non je ne veux pas demander d'autorisation, mais avez vous des exemples avec les blocs ?

Show your relevant blocks (for saving / downloading the image).

je ne les ai pas


j'ai fais ça et maintenant je voudrais supprimer en cliquant sur un bouton

it would have been nice to switch the language to
english before taking a screenshot...

these blocks do not make sense... remove them...

also it looks like you do not download images, you pick images using the image picker, isn't it?
so after picking an image you like to delete it from the device?

Taifun

1 Like

Also you topic ("Comment effacer des images") doesn't make sense.

oui Taifun c'est ce que je souhaite faire , supprimer une image

It sounds simple, but unfortunately it is not simple to delete an image your app does not own...

You will have to use SAF

Taifun

j'ai une image car je la télécharge et ensuite je veux la supprimer

In your screenshot you are using an image picker... you did NOT download an image, at least not in your screenshot ..

You might want to read again how to ask questions so we do not have to continue guessing...

Taifun

le problème c'est que je ne suis pas experte dans appinventor, je débute. Donc j'essai aussi de comprendre vos réponse c'est pas évident pour moi.
Ma question est : comment je peux faire pour supprimer une image que j'ai téléchargée , je ne veux pas en retélécharger une autre je veux que l'emplacement soit vide

to delete from the folder you downloaded the file image to. There is not a simple way to do this.

You probably need to use SAF and this Block:
deleteSAF

It seems that you understand "download" differently than we do. Download means that a file/image has been downloaded to your device via a URL address (from the internet).

non pas sur internet , téléchargé dans ma galerie du téléphone

If this image was previously downloaded from another app or you copied it there manually, you will need to use SAF to delete it.

Why? What is the purpose / goal of your app?

c'est de pouvoir renouveler les photos tous les mois et certains mois je ne mettrai pas de photos donc je laisserai le champs vide

avez vous des exemples concernant la méthode SAF

Which folder is it about? Which folder should be empty and why? If you do not want your app to be published in the Play Store, request and grant MANAGE_EXTERNAL_STORAGE permission to be able to remove images without SAF.

merci