Image, document import in apps

I would like to have a button in my app that, by pressing it, would open a page (open from here) where all the pictures on the phone are displayed and you can select them from there

See here for how I did something similar:

Its doenst work

I need an componens i think

i thinkg something like this