How can we get all the images stored in gallery

how to get all the images that are in the gallery
is there any extension or a activity starter solution?
help me please!!

What do you mean by all ? If you want to open gallery and see images in order to pick one use image picker

1 Like

actually i am making a recycler app it is like when you open the app it will store every images stored in gallery so if they delete images from gallery it will stored in my app

try the FileListAsync method from the file extension


Taifun
2 Likes

thank @Taifun you but what to write in extension for images?

Write .jpg in the extension to get all images from the gallery.

2 Likes

Thank you @Taifun and @golumaths100
i am just confirming in directory name we need to write file:/// /storage/emmc/DCIM
and in extension .jpg and in sub directories - true
am i right?

what about trying something yourself? see also tip 2 here App Inventor: How to Learn | Pura Vida Apps
are you trying to get the images from an external (removable) sdcard?
see also the Example App “Test FileList blocks” on my webpage App Inventor Extensions: File | Pura Vida Apps… and if you like to get all images of the internal (emulated) sdcard of the device, you might want to use an empty string for the root directory

Taifun

2 Likes

Try, this.

file:///mnt/sdcard/

and use .jpg in the extension.

2 Likes

2 Likes