How to remove image from phone gallery after stored variable for image is no longer needed

I am using Thunkable X. I test on Android.

  • My app use camera to take pic and store the image in a Stored Variable.
  • After I save the image, I manually search for the image in the phone Gallery and found it in the “Pictures” folder.
    My question is:
  1. How do I delete this image from the phone gallery if my app no longer need this, using Thunkable codes ?
  2. Is there a way to set the destination folder for the image before assign it into a Stored Variable ?
    Appreciate any ideas. Thanks !