How can I list all .odt files in a folder by using listview?

I want to list the whole file in a specific folder to the listview. and when i click on the item it need to open the specific file. how can I do it by using kodular.

For a file filter, use Taifun’s File Extension:
https://puravidaapps.com/file.php
With the File List block you can set the extension to “odt”, the directory you want to explore and containing subdirectorys’ files. Now for each path (like /sdcard/62s.odt or /sdcard/hshs/tah.odt), 1. use the Get Name block with file:// prefix (join block) join(file:// + {path}), like file:///mnt/sdcard/gsh.odt -> gsh.odt
2. Add item to listview

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